Skip to content

Jest tests stopped working after the update? #1782

Answered by gabrielmfern
Refrezsh asked this question in Q&A
Discussion options

You must be logged in to vote

Internally, we import react-dom dynamically. IIRC, Jest doesn't support these unless you set it up

https://jestjs.io/docs/next/ecmascript-modules

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Refrezsh
Comment options

Answer selected by Refrezsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants