Skip to content

Commit

Permalink
Fix interval test
Browse files Browse the repository at this point in the history
  • Loading branch information
littensy committed Apr 29, 2023
1 parent 18dd8c1 commit 5bde636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/use-interval/use-interval.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ export = () => {
expect(count).to.equal(0);
rerender({ delay: 0.05 });

task.wait(0.08);
task.wait(0.02);
expect(count).to.equal(0);

task.wait(0.08);
task.wait(0.04);
expect(count).to.equal(1);
unmount();
});
Expand Down

0 comments on commit 5bde636

Please sign in to comment.