aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/html-rewriter.test.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-01 01:17:36 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-01 01:17:36 -0700
commite0011fd6baf2fe2b12d1b2a909981da1a183cdad (patch)
treee59f664577a99789c933ca2fe60841b10c675893 /integration/bunjs-only-snippets/html-rewriter.test.js
parent8e0ee052eb900465f6bffb9d4c226d3ca762780a (diff)
downloadbun-e0011fd6baf2fe2b12d1b2a909981da1a183cdad.tar.gz
bun-e0011fd6baf2fe2b12d1b2a909981da1a183cdad.tar.zst
bun-e0011fd6baf2fe2b12d1b2a909981da1a183cdad.zip
[bun.js] Use `Headers` from WebKit instead of custom
Diffstat (limited to 'integration/bunjs-only-snippets/html-rewriter.test.js')
-rw-r--r--integration/bunjs-only-snippets/html-rewriter.test.js4
1 files changed, 0 insertions, 4 deletions
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("<div><span>replace</span></div>");
});
- 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", {