Skip to content

Commit 8d4cf40

Browse files
committed
bring back invalidUrl test with error expectation
1 parent c6a0368 commit 8d4cf40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tests/url/url.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,9 @@
9393
testing.expectEqual("", sk.hostname);
9494
testing.expectEqual("sveltekit-internal://", sk.href);
9595
</script>
96+
97+
<script id=invalidUrl>
98+
testing.expectError("Error: Invalid", () => {
99+
_ = new URL("://foo.bar/path?query#fragment");
100+
});
101+
</script>

0 commit comments

Comments
 (0)