mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 22:21:15 +00:00
parent
2d1208556a
commit
b8303c7812
13 changed files with 3225 additions and 3678 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue