Skip to content

Commit

Permalink
logger: restore test
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjclark committed Mar 4, 2024
1 parent 2fde0ad commit 18d26a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/logger/test/mock.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ test('_parse with default settings', (t) => {
t.falsy(namespace);
});

test.only('_parse raw message', (t) => {
test('_parse raw message', (t) => {
const logger = mockLogger();
logger.success('x', 1, true);

const { messageRaw } = logger._parse(logger._last);
console.log(messageRaw)

t.is(messageRaw[0], 'x');
t.is(messageRaw[1], 1);
t.true(messageRaw[2]);
Expand Down

0 comments on commit 18d26a0

Please sign in to comment.