You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing some extra strings logging when not using colors. Here's a test that will fail and demonstrate the problem ( merging #6 is required for this test to work)
importLoggerfrom'bite-log';import{makeTestPrinter}from'./test-helpers';QUnit.module('Log messages with no colors');QUnit.test('Logging without styles',assert=>{constprinter=makeTestPrinter();constlogger=newLogger(4,printer);logger.warn('a warning');logger.debug('a debug');logger.log('a log');logger.error('an error');// Make sure each of the messages are correctassert.deepEqual(printer.messages,{debug: [// one call to console.debug['a debug']// that passes a single argument (i.e., console.debug('a debug') )],error: [['an error']],log: [['a log']],warn: [['a warning']]});});
The text was updated successfully, but these errors were encountered:
I'm seeing some extra strings logging when not using colors. Here's a test that will fail and demonstrate the problem ( merging #6 is required for this test to work)
The text was updated successfully, but these errors were encountered: