Repository navigation
feat(experimental): add order and jitter to fake timers - #11960
Draft
sheremet-va wants to merge 1 commit into
Draft
sheremet-va wants to merge 1 commit into
sheremet-va wants to merge 1 commit into
Conversation
✅ Deploy Preview for vitest-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
sheremet-va
force-pushed
the
feat/seeded-timers
branch
from
November 18, 2026 12:14
3da3111 to
4612862
Compare
sheremet-va
marked this pull request as draft
November 18, 2026 13:58
sheremet-va
force-pushed
the
feat/seeded-timers
branch
from
November 18, 2026 14:31
132c468 to
ec52254
Compare
sheremet-va
force-pushed
the
feat/seeded-timers
branch
from
November 18, 2026 20:08
ec52254 to
56aa362
Compare
sheremet-va
force-pushed
the
feat/seeded-timers
branch
2 times, most recently
from
November 19, 2026 18:02
8961fc1 to
c999e3f
Compare
sheremet-va
force-pushed
the
feat/seeded-timers
branch
from
November 20, 2026 13:43
c999e3f to
4d97fe6
Compare
sheremet-va
force-pushed
the
feat/seeded-timers
branch
from
November 24, 2026 20:38
4d97fe6 to
7e642ba
Compare
sheremet-va
force-pushed
the
feat/seeded-timers
branch
2 times, most recently
from
November 24, 2026 22:28
4e455b5 to
78b7c27
Compare
sheremet-va
force-pushed
the
feat/seeded-timers
branch
from
November 25, 2026 08:33
78b7c27 to
c0321a8
Compare
sheremet-va
force-pushed
the
feat/seeded-timers
branch
from
November 25, 2026 10:41
c0321a8 to
6b6e9da
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #11943.
Fake timers that are due at the same time run in the order of creation, and each timer runs exactly on time. Real timers do not. 2 new options take the order and the delays from the seed of the test, so
repeatstests other schedules and--replay-seedrepeats a failed one:order: 'random': timeouts and intervals that are due at the same time run in a seeded order.jitter: n: each timer is 0 tonms late.