You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any context that might help us understand?
Out the box the cypress example doesn't work since NextJS has a compiler option set as Bundler. This is incompatible with Cypress but there's a workaround that actually creates a new module resolution type for the node side of the compilation rather than playing with the default settings.
What is the improvement or update you wish to see?
Need to update this document because the example doesn't work without further configuration
https://nextjs.org/docs/pages/building-your-application/optimizing/testing
We should advise people to add this config element to their
tsconfig.json
file in the root nodeIs there any context that might help us understand?
Out the box the cypress example doesn't work since NextJS has a compiler option set as Bundler. This is incompatible with Cypress but there's a workaround that actually creates a new module resolution type for the node side of the compilation rather than playing with the default settings.
See discussions here and here
As a result we should add the following advice to the following.
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/pages/building-your-application/optimizing/testing
The text was updated successfully, but these errors were encountered: