Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure runAllTimers also clears all ticks #3915

Merged
merged 1 commit into from Jun 27, 2017

Conversation

thymikee
Copy link
Collaborator

Summary

Fixes #3000

Test plan

Added a test from repro.

@codecov-io
Copy link

Codecov Report

Merging #3915 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3915      +/-   ##
==========================================
+ Coverage   58.01%   58.03%   +0.01%     
==========================================
  Files         195      195              
  Lines        6741     6743       +2     
  Branches        6        6              
==========================================
+ Hits         3911     3913       +2     
  Misses       2827     2827              
  Partials        3        3
Impacted Files Coverage Δ
packages/jest-util/src/fake_timers.js 91% <100%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1199558...9d17ea9. Read the comment docs.

@cpojer cpojer merged commit 113639b into jestjs:master Jun 27, 2017
@cpojer
Copy link
Member

cpojer commented Jun 27, 2017

cc @aaronabramov in case this gives you trouble on www :P (it shouldn't).

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

runAllTimers is a superset of runAllTicks, but only sometimes
4 participants