Skip to content

Commit

Permalink
less flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Aug 25, 2024
1 parent ad339a2 commit dd96443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ describe('timers', () => {

t.strictEqual(timers.now() - startInternalClock, 499)
await new Promise((resolve) => setTimeout(resolve, 1000))
t.strictEqual(timers.now() - startInternalClock, 1497)
t.ok(timers.now() - startInternalClock <= 1497)

timers.clearTimeout(longRunningFastTimer)
})
Expand Down

0 comments on commit dd96443

Please sign in to comment.