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

Utilize modern jest timers in v27 #519

Open
hy2999la opened this issue Nov 1, 2021 · 0 comments
Open

Utilize modern jest timers in v27 #519

hy2999la opened this issue Nov 1, 2021 · 0 comments

Comments

@hy2999la
Copy link
Collaborator

hy2999la commented Nov 1, 2021

Currently, jest timers are utilizing the legacy tag, jest.useFakeTimers('legacy'), which uses the old API implementation of jest timer mocks. In v27, timers have flipped the default implementation to use the modern APIs, and will require updating.

Ref: https://jestjs.io/blog/2021/05/25/jest-27#flipping-defaults

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant