We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isURL
path
1 parent be42fed commit 39ddf70Copy full SHA for 39ddf70
graal-nodejs/test/parallel/test-url-is-url.js
@@ -9,3 +9,8 @@ const { isURL } = require('internal/url');
9
10
assert.strictEqual(isURL(new URL('https://www.nodejs.org')), true);
11
assert.strictEqual(isURL(parse('https://www.nodejs.org')), false);
12
+assert.strictEqual(isURL({
13
+ href: 'https://www.nodejs.org',
14
+ protocol: 'https:',
15
+ path: '/',
16
+}), false);
0 commit comments