We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol(nodeStream)
Describe the bug Upgrading, from the 13.7.0 to the 13.7.1 I get this error message when performing calls with fetch with a mock defined using msw:
13.7.0
13.7.1
TypeError: Cannot read properties of null (reading 'Symbol(nodeStream)')
The error appears on all subsequent versions.
To Reproduce
I define a mock like the following using the last version of msw => https://github.com/mswjs/msw/releases/tag/v2.2.7
server.use( http.put('/xxxx', async () => { return new HttpResponse('', { status: 204 }); }) );
When I define any string as the first parameter like the following, the error disappears:
server.use( http.put('/xxxx', async () => { return new HttpResponse('No Content', { status: 204 }); }) );
Expected behavior Not having any error like with the 13.7.0
The text was updated successfully, but these errors were encountered:
fix: [#1325] Fixes problem related to cloning a response without a body
d924104
Merge pull request #1327 from capricorn86/1325-symbolnodestream-error…
bedb752
…-message-with-msw fix: [#1325] Fixes problem related to cloning a response without a body
Thank you for reporting @antham! 🙂
There is a fix in now: https://github.com/capricorn86/happy-dom/releases/tag/v13.10.1
Sorry, something went wrong.
Thank you for the fix 👍
capricorn86
Successfully merging a pull request may close this issue.
Describe the bug
Upgrading, from the
13.7.0
to the13.7.1
I get this error message when performing calls with fetch with a mock defined using msw:The error appears on all subsequent versions.
To Reproduce
I define a mock like the following using the last version of msw => https://github.com/mswjs/msw/releases/tag/v2.2.7
When I define any string as the first parameter like the following, the error disappears:
Expected behavior
Not having any error like with the
13.7.0
The text was updated successfully, but these errors were encountered: