From 86b05fc8f110cadc67fcf7417bc0646289919000 Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 24 Jul 2024 08:54:55 -0700 Subject: [PATCH] chore: allow for longer timer values (#7683) Sometimes computers are slow --- test/lib/utils/timers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/utils/timers.js b/test/lib/utils/timers.js index f13b5ac2ba75d..891c6d3ac631e 100644 --- a/test/lib/utils/timers.js +++ b/test/lib/utils/timers.js @@ -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) => {