From 5ccf606107b045ad32e2eed8d1c757b30a6e4040 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Thu, 9 Jun 2022 21:29:57 -0700 Subject: `new Response(stream).arrayBuffer()` + 3 more - `new Response(stream).arrayBuffer()` - `new Response(stream).json()` - `new Response(stream).text()` - `new Response(stream).blob()` --- integration/bunjs-only-snippets/concat.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'integration/bunjs-only-snippets/concat.test.js') diff --git a/integration/bunjs-only-snippets/concat.test.js b/integration/bunjs-only-snippets/concat.test.js index 9f3e1f257..a965fdb94 100644 --- a/integration/bunjs-only-snippets/concat.test.js +++ b/integration/bunjs-only-snippets/concat.test.js @@ -1,6 +1,6 @@ import { describe, it, expect } from "bun:test"; import { gcTick } from "./gc"; -import { concat } from "bun"; +import { concatArrayBuffers } from "bun"; describe("concat", () => { function polyfill(chunks) { @@ -19,7 +19,7 @@ describe("concat", () => { } function concatToString(chunks) { - return Array.from(new Uint8Array(concat(chunks))).join(""); + return Array.from(new Uint8Array(concatArrayBuffers(chunks))).join(""); } function polyfillToString(chunks) { -- cgit v1.2.3