mirror of
https://github.com/status-im/dagger-contracts.git
synced 2025-01-30 00:05:01 +00:00
Fix flaky test
This commit is contained in:
parent
bb14732ddc
commit
f4d895113f
@ -105,6 +105,7 @@ describe("Proofs", function () {
|
||||
})
|
||||
|
||||
async function waitUntilProofIsRequired(id) {
|
||||
await advanceTimeTo(periodEnd(periodOf(await currentTime())))
|
||||
while (!(await proofs.isProofRequired(id))) {
|
||||
await advanceTime(period)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user