log4js-node/test/tap/levels-before-configure-test.js
2022-06-23 01:00:07 +08:00

13 lines
299 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();
});