[clock] Fix test failure when sleepAsync takes a bit longer than expected

This commit is contained in:
Mark Spanbroek 2022-05-18 14:47:24 +02:00 committed by markspanbroek
parent d6393de324
commit 49e60d6a5c
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ ethersuite "On-Chain Clock":
test "updates time using wall-clock in-between blocks":
let past = clock.now()
await sleepAsync(chronos.seconds(1))
check clock.now() == past + 1
check clock.now() > past
test "raises when not started":
expect AssertionError: