Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Jan 7, 2025
1 parent 97301be commit 4964b63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/logger.loglevel.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,23 +144,23 @@ test('Test all log levels', t => {
logger.debug('Should log at debug level');
});

const verboseOutput = captureConsole('verbose', () => {
const verboseOutput = captureConsole('log', () => {
logger.verbose('Should log at verbose level');
});

const infoOutput = captureConsole('info', () => {
logger.info('Should log at info level');
});

const warningOutput = captureConsole('warning', () => {
const warningOutput = captureConsole('warn', () => {
logger.warning('Should log at warning level');
});

const errorOutput = captureConsole('error', () => {
logger.error('Should log at error level');
});

const criticalOutput = captureConsole('critical', () => {
const criticalOutput = captureConsole('error', () => {
logger.critical('Should log at critical level');
});

Expand Down

0 comments on commit 4964b63

Please # to comment.