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

fix(ssr/renderToStream): A Readable object should at least implement an empty _read method. #3867

Closed
wants to merge 2 commits into from

Conversation

07akioni
Copy link
Contributor

@07akioni 07akioni commented Jun 1, 2021

Nor it will throw errors.

See nodejs/node#38865.

The tests passes in jest before because jest mock the global promise and causes inconsistant behavior compared with native nodejs.
jestjs/jest#11497

fix #3846

…an empty _read method.

Nor it will throw errors.

See nodejs/node#38865.

The tests passes in jest before because jest mock the global promise and causes inconsistant behavior compared with native nodejs.
jestjs/jest#11497
@07akioni
Copy link
Contributor Author

07akioni commented Jun 1, 2021

fix #3846

@posva
Copy link
Member

posva commented Jun 1, 2021

#3846 (comment)

@yyx990803
Copy link
Member

PR was stale due to SSR refactor in 3.2 so I landed it in a separate commit.

iwusong pushed a commit to iwusong/core that referenced this pull request May 13, 2022
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.

renderToStream causes error in some cases.
3 participants