mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
fix(test): exit listener test fix for new shutdown functions
This commit is contained in:
parent
9631b620c4
commit
c4a6efaf0f
@ -65,8 +65,8 @@ test('../../lib/appenders/dateFile', (batch) => {
|
||||
openedFiles.shift();
|
||||
};
|
||||
|
||||
this.write = function () {
|
||||
return true;
|
||||
this.write = function (data, encoding, cb) {
|
||||
return cb();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@ -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 () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user