Skip to content

Commit

Permalink
chore: allow for longer timer values (#7683)
Browse files Browse the repository at this point in the history
Sometimes computers are slow
  • Loading branch information
wraithgar authored Jul 24, 2024
1 parent a947f25 commit 86b05fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/utils/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ t.test('logs timing events', async (t) => {
timers.off()
time.end('foo')
t.equal(logs.timing.length, 1)
t.match(logs.timing[0], /^bar Completed in [0-9]ms/)
t.match(logs.timing[0], /^bar Completed in [0-9]+m?s/)
})

t.test('finish unstarted timer', async (t) => {
Expand Down

0 comments on commit 86b05fc

Please sign in to comment.