Repository navigation
Docs: "next/experimental/testmode/playwright"' has no exported member 'rest' #71330
Unanswered
FransJoakim
asked this question in
Help
Replies: 1 comment
|
Next.js 14 depends on msw 1.3.0, while Next.js 15 depends on msw 2.3.0. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What is the documentation issue?
I'm writing e2e tests and need to intercept api calls made to fetch data server-side. I'm trying out the Experimental test mode for Playwright, however when implementing this example shown in the docs I get this error: "Module '"next/experimental/testmode/playwright"' has no exported member 'rest'." When running the code rest also evaluates to undefined.
Is there any context that might help us understand?
I'm using
Does the docs page already exist? Please link to it.
https://github.com/vercel/next.js/blob/canary/packages/next/src/experimental/testmode/playwright/README.md#or-use-the-nextexperimentaltestmodeplaywrightmsw
All reactions