diff options
author | 2022-04-02 00:29:26 -0700 | |
---|---|---|
committer | 2022-04-02 00:29:26 -0700 | |
commit | 66c5a941b306bb2963c637f7207f15a7526781c3 (patch) | |
tree | a84e071e9a7a9d836c33b2324f7e66836b717765 /integration/bunjs-only-snippets/url.test.ts | |
parent | 4592b1ccb57b00bbbffb1448609a70af0d362777 (diff) | |
download | bun-66c5a941b306bb2963c637f7207f15a7526781c3.tar.gz bun-66c5a941b306bb2963c637f7207f15a7526781c3.tar.zst bun-66c5a941b306bb2963c637f7207f15a7526781c3.zip |
More aggressive GC
Diffstat (limited to 'integration/bunjs-only-snippets/url.test.ts')
-rw-r--r-- | integration/bunjs-only-snippets/url.test.ts | 14 |
1 files changed, 0 insertions, 14 deletions
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"); }); }); |