fix(tests): Bump dependency versions and adjust test to use enableConsole() default

This commit is contained in:
2025-09-22 13:30:17 +00:00
parent e133da8076
commit 13ccb0f386
5 changed files with 2216 additions and 2790 deletions

View File

@@ -23,9 +23,7 @@ tap.test('should produce instance of Smartlog', async () => {
});
tap.test('should enable console logging', async () => {
testSmartLog.enableConsole({
captureAll: true,
});
testSmartLog.enableConsole();
console.log('this is a normal log that should be captured');
console.log(new Error('hi there'));
testSmartLog.log('info', 'this should only be printed once');