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

W.setImmediate is not a function #29

Open
BartJanvanAssen opened this issue Oct 29, 2021 · 2 comments
Open

W.setImmediate is not a function #29

BartJanvanAssen opened this issue Oct 29, 2021 · 2 comments
Assignees

Comments

@BartJanvanAssen
Copy link

BartJanvanAssen commented Oct 29, 2021

Hey Folks,

Was trying out this library but got a strange error, who can help me out?

image

I used like 100% the same test used over here, but then my own component:
https://github.com/keiya01/react-performance-testing/blob/master/example/src/list/Item.test.tsx

I have not used the CLI tool, I want to use this with jest with RTL.
I've tried the compiler options but got not any improvements on that :-(
Im running on tsconfig - target / module: esnext

@ramory-l
Copy link

I have the same error using from here code example...

@plobod
Copy link

plobod commented Feb 12, 2022

It seems that it has to do with the fact that setImmediate has been removed from the Jest node environment:
https://github.com/facebook/jest/pull/11222/files

@keiya01 keiya01 self-assigned this Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants