fix(test): exit listener test fix for new shutdown functions

This commit is contained in:
Gareth Jones 2017-03-20 08:47:48 +11:00
parent 9631b620c4
commit c4a6efaf0f
2 changed files with 4 additions and 4 deletions

View File

@ -65,8 +65,8 @@ test('../../lib/appenders/dateFile', (batch) => {
openedFiles.shift();
};
this.write = function () {
return true;
this.write = function (data, encoding, cb) {
return cb();
};
}
}

View File

@ -68,8 +68,8 @@ test('log4js fileAppender', (batch) => {
openedFiles.shift();
};
this.write = function () {
return true;
this.write = function (data, encoding, cb) {
return cb();
};
this.on = function () {