Skip to content
New issue

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

docs: adding readable stream object on jest setup #418

Conversation

NicolasBelliard
Copy link

Hello!

With the new version of "undici": "6.19.8", I faced a new issue with the jest.polyfills.js: ReferenceError: ReadableStream is not defined.

To fix this issue you need to add in your jest.polyfills.js file: ReadableStream: { value: ReadableStream }.

Copy link

vercel bot commented Sep 26, 2024

@NicolasBelliard is attempting to deploy a commit to the MSW Team on Vercel.

A member of the Team first needs to authorize it.

@NicolasBelliard NicolasBelliard changed the title docs: adding readble stream object on jest setup docs: adding readable stream object on jest setup Sep 26, 2024
@kettanaito
Copy link
Member

Fixed this by #419. Please read it! The approach to fixing your Jest environment is different now.

@kettanaito kettanaito closed this Sep 26, 2024
@NicolasBelliard
Copy link
Author

Oh great!
Thank you for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants