Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: flakey5 <73616808+flakey5@users.noreply.github.com>
  • Loading branch information
flakey5 committed Nov 2, 2024
1 parent f642fa5 commit eb65121
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ describe('timers', () => {
const lowerBound = actualNow - timers.RESOLUTION_MS
const upperBound = actualNow + timers.RESOLUTION_MS

t.equal(actualNow >= lowerBound && actualNow <= upperBound, true)
const fastNowAbsolute = timers.nowAbsolute()
t.equal(fastNowAbsolute >= lowerBound && fastNowAbsolute <= upperBound, true)
})
})

0 comments on commit eb65121

Please # to comment.