Skip to content

Commit

Permalink
Round timeout tracking up for latest node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Mar 13, 2020
1 parent 3c28038 commit 8732786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 8732786

Please sign in to comment.