From e0011fd6baf2fe2b12d1b2a909981da1a183cdad Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Fri, 1 Apr 2022 01:17:36 -0700 Subject: [bun.js] Use `Headers` from WebKit instead of custom --- integration/bunjs-only-snippets/html-rewriter.test.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'integration/bunjs-only-snippets/html-rewriter.test.js') diff --git a/integration/bunjs-only-snippets/html-rewriter.test.js b/integration/bunjs-only-snippets/html-rewriter.test.js index a4ca965aa..68e2849d9 100644 --- a/integration/bunjs-only-snippets/html-rewriter.test.js +++ b/integration/bunjs-only-snippets/html-rewriter.test.js @@ -26,10 +26,6 @@ describe("HTMLRewriter", () => { expect(await res.text()).toBe("
replace
"); }); - it("exists globally", async () => { - expect(typeof HTMLRewriter).toBe("function"); - expect(typeof HTMLRewriter.constructor).toBe("function"); - }); it("supports element handlers", async () => { var rewriter = new HTMLRewriter(); rewriter.on("div", { -- cgit v1.2.3