Prerequisites
Environment check
Browsers
Chromium (Chrome, Brave, etc.)
Reproduction repository
https://github.com/younes101020/mswjs-nextjs-app-router-reproduction-issue
Reproduction steps
go to: https://codesandbox.io/p/github/younes101020/mswjs-nextjs-app-router-reproduction-issue/main?import=true
On right section click on preview 3000 then look at the displayed error.
Current behavior
I am encountering this error
I'm trying to intercept an sse request and mock the response, but I'm getting this error:
Everything works with basic fetch.
Expected behavior
sse request to be intercepted and msw handler mocked response to be received.
Prerequisites
Environment check
mswversionBrowsers
Chromium (Chrome, Brave, etc.)
Reproduction repository
https://github.com/younes101020/mswjs-nextjs-app-router-reproduction-issue
Reproduction steps
go to: https://codesandbox.io/p/github/younes101020/mswjs-nextjs-app-router-reproduction-issue/main?import=true
On right section click on preview 3000 then look at the displayed error.
Current behavior
I am encountering this error
I'm trying to intercept an sse request and mock the response, but I'm getting this error:
Everything works with basic fetch.
Expected behavior
sse request to be intercepted and msw handler mocked response to be received.