From 66c5a941b306bb2963c637f7207f15a7526781c3 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sat, 2 Apr 2022 00:29:26 -0700 Subject: More aggressive GC --- integration/bunjs-only-snippets/url.test.ts | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'integration/bunjs-only-snippets/url.test.ts') diff --git a/integration/bunjs-only-snippets/url.test.ts b/integration/bunjs-only-snippets/url.test.ts index 9bead1f4e..2814d729b 100644 --- a/integration/bunjs-only-snippets/url.test.ts +++ b/integration/bunjs-only-snippets/url.test.ts @@ -84,19 +84,5 @@ describe("url", () => { expect(result.search).toBe(values.search); expect(result.username).toBe(values.username); } - - expect(new URL("example.com").pathname).toBe("/"); - expect(new URL("https://example.com").protocol).toBe("https:"); - expect(new URL("http://example.com").protocol).toBe("http:"); - expect(new URL("example.com/foo").pathname).toBe("/foo"); - expect(new URL("example.com/foo/bar/").pathname).toBe("/foo/bar/"); - expect(new URL("example.com/foo/bar/?search=true").search).toBe( - "?search=true" - ); - expect(new URL("example.com/foo/bar/?search=true#fragment").search).toBe( - "?search=true" - ); - expect(new URL("https://example.com").href).toBe("https://example.com/"); - expect(new URL("example.com").hostname).toBe("example.com"); }); }); -- cgit v1.2.3