diff options
author | 2022-09-28 23:43:40 -0700 | |
---|---|---|
committer | 2022-09-28 23:43:40 -0700 | |
commit | 3d35fae8904349fb7edd184851501d515ef7642b (patch) | |
tree | cadacc8e306d0ae210c0b221287e91b10eed4d49 /test/bun.js/fetch.test.js | |
parent | 1636291b03f2f8851890edc598c65c886e024edb (diff) | |
download | bun-3d35fae8904349fb7edd184851501d515ef7642b.tar.gz bun-3d35fae8904349fb7edd184851501d515ef7642b.tar.zst bun-3d35fae8904349fb7edd184851501d515ef7642b.zip |
Add some tests for request body streaming
Need to fix an off-by-one error with Blob it seems
Diffstat (limited to 'test/bun.js/fetch.test.js')
-rw-r--r-- | test/bun.js/fetch.test.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/bun.js/fetch.test.js b/test/bun.js/fetch.test.js index a4ab0bfa6..9b8cbfabd 100644 --- a/test/bun.js/fetch.test.js +++ b/test/bun.js/fetch.test.js @@ -144,6 +144,8 @@ function testBlobInterface(blobbyConstructor, hasBlobFn) { if (withGC) gc(); expect(blobed.size).toBe(size); if (withGC) gc(); + blobed.type = ""; + if (withGC) gc(); expect(blobed.type).toBe(""); if (withGC) gc(); blobed.type = "application/json"; |