log4js-node/test/tap/levels-before-configure-test.js
2019-08-01 16:57:32 +10:00

13 lines
295 B
JavaScript

const { test } = require("tap");
test("Accessing things setup in configure before configure is called", batch => {
batch.test("should work", t => {
const log4js = require("../../lib/log4js");
t.ok(log4js.levels);
t.ok(log4js.connectLogger);
t.end();
});
batch.end();
});