Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurw1 committed Dec 29, 2020
1 parent ecf1904 commit 6f2bd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/utils.public.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ tap.test('prettifyMessage', t => {

t.test('returns message formatted by `messageFormat` option - levelLabel', async t => {
const str = prettifyMessage({ log: { msg: 'foo', context: 'appModule', level: 30 }, messageFormat: '[{level}] {levelLabel} {context} - {msg}' })
t.is(str, '[30] INFO appModule - foo')
t.is(str, '[30] INFO appModule - foo')
})

t.test('`messageFormat` supports nested curly brackets', async t => {
Expand Down

0 comments on commit 6f2bd89

Please sign in to comment.