fix(core): update
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
import * as logcontext from '../ts/index';
|
||||
import * as logcontext from '../ts/index.js';
|
||||
|
||||
let testLogger = new logcontext.Logger('testNamespace');
|
||||
|
||||
@ -33,8 +33,8 @@ tap.testParallel('should create a new scope', async () => {
|
||||
});
|
||||
});
|
||||
|
||||
tap.test('should log within default scope', async (tools) => {
|
||||
await tools.delayFor(3000);
|
||||
tap.test('should log within default scope', async (toolsArg) => {
|
||||
await toolsArg.delayFor(3000);
|
||||
testLogger.log('message without context');
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user