refactor(op_crate/fetch): align streams to spec (#9103)

Fixes #8814
This commit is contained in:
Kitson Kelly 2021-01-15 08:57:19 +11:00 committed by GitHub
parent 2d1208556a
commit b8303c7812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 3225 additions and 3678 deletions

View file

@ -181,7 +181,7 @@ Deno.test("toReadableCheck", async function (): Promise<void> {
const writableStream = readableStreamFromAsyncIterator(iter);
const decoder = new TextDecoder();
for await (const chunk of writableStream.getIterator()) {
for await (const chunk of writableStream) {
readChunks.push(decoder.decode(chunk));
}