fix(core): update

This commit is contained in:
2020-06-08 20:45:02 +00:00
parent a604b8e375
commit ffff60772c
4 changed files with 10 additions and 8 deletions

View File

@ -7,7 +7,7 @@ let testSmartLog: smartlog.Smartlog;
tap.test('should produce a valid ConsoleLog instance', async () => {
testConsoleLog = new smartlog.ConsoleLog();
testConsoleLog.log('ok', 'this is ok');
})
});
tap.test('should produce instance of Smartlog', async () => {
testSmartLog = new smartlog.Smartlog({
@ -38,6 +38,6 @@ tap.test('should be able to log things', async () => {
tap.test('should create a log group', async () => {
const logGroup = testSmartLog.createLogGroup('some cool transaction');
logGroup.log('info', 'this is logged from a log group');
})
});
tap.start();