We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10ccf56 commit 9f7b549Copy full SHA for 9f7b549
test/parallel/test-whatwg-url-tojson.js
@@ -4,11 +4,13 @@ const common = require('../common');
4
const URL = require('url').URL;
5
const { test, assert_equals } = common.WPT;
6
7
+/* eslint-disable */
8
/* WPT Refs:
9
https://github.com/w3c/web-platform-tests/blob/02585db/url/url-tojson.html
10
License: http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html
11
*/
12
test(() => {
- const a = new URL('https://example.com/');
13
- assert_equals(JSON.stringify(a), '"https://example.com/"');
14
-});
+ const a = new URL("https://example.com/")
+ assert_equals(JSON.stringify(a), "\"https://example.com/\"")
15
+})
16
+/* eslint-enable */
0 commit comments