diff --git a/src/index.spec.ts b/src/index.spec.ts index fd566db..4049bce 100644 --- a/src/index.spec.ts +++ b/src/index.spec.ts @@ -65,7 +65,7 @@ describe("assign", () => { const end = performance.now(); - expect(end - start).toBeGreaterThan(100); + expect(Math.ceil(end - start)).toBeGreaterThanOrEqual(100); }); it("should allow manual abort", async () => {