mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
chore(test): improve test coverage for log4js
log4js.js - Line 37 - if (!enabled) return;
This commit is contained in:
parent
05a64ff1fe
commit
70b69ea187
@ -154,6 +154,8 @@ test("log4js", batch => {
|
||||
"should invoke appender shutdowns"
|
||||
);
|
||||
logger.info("this should not go to the appenders");
|
||||
logger.log("info", "this should not go to the appenders");
|
||||
logger._log(require("../../lib/levels").INFO, ["this should not go to the appenders"]);
|
||||
t.notOk(events.event);
|
||||
t.end();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user