Skip to content
Discussion options

You must be logged in to vote

I think this is an issue with CommonJS vs ModuleJS. Jest is a CommonJS tool and Nuxt v3 is ModuleJS based.
There is a new testing tool called Vitest, which uses the same build tool as Nuxt v3.
Heres the Migration Guide from Jest

Replies: 3 comments 3 replies

Comment options

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

Answer selected by kennerstross
Comment options

You must be logged in to vote
2 replies
@kennerstross
Comment options

@benkissi
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 participants