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

Jest is unable to mock setTimeout #1002

Open
Bricks666 opened this issue Jan 9, 2025 · 0 comments
Open

Jest is unable to mock setTimeout #1002

Bricks666 opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Bricks666
Copy link

Bricks666 commented Jan 9, 2025

What happened?

In reason of the latest changes with setting setTimeout into variable, jest can't mock it. Mock of the case on codesandbox.

Note: On 3.11.0 everything works

Part

Package @reatom/utils

Version

3.11.1

What browsers are you seeing the problem on?

No response

Relevant log output

No response

@Bricks666 Bricks666 added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant