We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ReadableStream
1 parent 1619714 commit 91e786aCopy full SHA for 91e786a
packages/happy-dom/src/fetch/utilities/FetchBodyUtility.ts
@@ -145,7 +145,7 @@ export default class FetchBodyUtility {
145
146
// Sets the body of the cloned request to the first pass through stream.
147
// TODO: check id this is required as request should be read only object
148
- <ReadableStream>requestOrResponse.body == stream1;
+ requestOrResponse.body = stream1;
149
150
// Returns the other stream as the clone
151
return stream2;
0 commit comments