summaryrefslogtreecommitdiff
path: root/cli/js/tests/url_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/tests/url_test.ts')
-rw-r--r--cli/js/tests/url_test.ts22
1 files changed, 13 insertions, 9 deletions
diff --git a/cli/js/tests/url_test.ts b/cli/js/tests/url_test.ts
index 46468c8ae..c00bfa8d3 100644
--- a/cli/js/tests/url_test.ts
+++ b/cli/js/tests/url_test.ts
@@ -180,15 +180,19 @@ unitTest(function sortingNonExistentParamRemovesQuestionMarkFromURL(): void {
assertEquals(url.search, "");
});
-/*
-unitTest(function customInspectFunction(): void {
- const url = new URL("http://example.com/?");
- assertEquals(
- Deno.inspect(url),
- 'URL { href: "http://example.com/?", origin: "http://example.com", protocol: "http:", username: "", password: "", host: "example.com", hostname: "example.com", port: "", pathname: "/", hash: "", search: "?" }'
- );
-});
-*/
+unitTest(
+ {
+ // FIXME(bartlomieju)
+ skip: true
+ },
+ function customInspectFunction(): void {
+ const url = new URL("http://example.com/?");
+ assertEquals(
+ Deno.inspect(url),
+ 'URL { href: "http://example.com/?", origin: "http://example.com", protocol: "http:", username: "", password: "", host: "example.com", hostname: "example.com", port: "", pathname: "/", hash: "", search: "?" }'
+ );
+ }
+);
unitTest(function protocolNotHttpOrFile() {
const url = new URL("about:blank");