diff options
author | 2022-11-28 23:00:22 -0800 | |
---|---|---|
committer | 2022-11-28 23:00:22 -0800 | |
commit | 887496bcf9bc3e87ca18637f4cd059eecc324102 (patch) | |
tree | 98d391fa46ac7cba84a5743131bef5c6a4dda979 /test/bun.js/streams.test.js | |
parent | da4376103205bc9bdb810fee5cc8d343d04f36ef (diff) | |
download | bun-887496bcf9bc3e87ca18637f4cd059eecc324102.tar.gz bun-887496bcf9bc3e87ca18637f4cd059eecc324102.tar.zst bun-887496bcf9bc3e87ca18637f4cd059eecc324102.zip |
Fix failing spawn() and spawnSync() tests
cc @ThatOneBro
Diffstat (limited to '')
-rw-r--r-- | test/bun.js/streams.test.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/bun.js/streams.test.js b/test/bun.js/streams.test.js index 406c80852..577570221 100644 --- a/test/bun.js/streams.test.js +++ b/test/bun.js/streams.test.js @@ -458,17 +458,13 @@ it("ReadableStream for File", async () => { stream = undefined; while (true) { const chunk = await reader.read(); - gc(true); if (chunk.done) break; chunks.push(chunk.value); - expect(chunk.value.byteLength <= 24).toBe(true); - gc(true); } reader = undefined; const output = new Uint8Array(await blob.arrayBuffer()).join(""); const input = chunks.map((a) => a.join("")).join(""); expect(output).toBe(input); - gc(true); }); it("ReadableStream for File errors", async () => { |