Skip to content

Commit 86b05fc

Browse files
authored
chore: allow for longer timer values (#7683)
Sometimes computers are slow
1 parent a947f25 commit 86b05fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lib/utils/timers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ t.test('logs timing events', async (t) => {
3030
timers.off()
3131
time.end('foo')
3232
t.equal(logs.timing.length, 1)
33-
t.match(logs.timing[0], /^bar Completed in [0-9]ms/)
33+
t.match(logs.timing[0], /^bar Completed in [0-9]+m?s/)
3434
})
3535

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

0 commit comments

Comments
 (0)