Skip to content

Commit

Permalink
fix: improve flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
TylorS committed May 16, 2024
1 parent 5944e3e commit 52cba20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fx/test/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ describe.concurrent("Fx.at", () => {

const [duration, array] = await Effect.runPromise(test)

expect(Math.ceil(Duration.toMillis(duration))).toBeGreaterThan(delay)
expect(Math.ceil(Duration.toMillis(duration))).toBeGreaterThanOrEqual(delay)
expect(array).toEqual(["a"])
})
})
Expand Down

0 comments on commit 52cba20

Please sign in to comment.