We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07e9393 commit 98f3c0fCopy full SHA for 98f3c0f
test/parallel/test-whatwg-url-tojson.js
@@ -4,13 +4,11 @@ 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(() => {
13
- const a = new URL("https://example.com/")
14
- assert_equals(JSON.stringify(a), "\"https://example.com/\"")
15
-})
16
-/* eslint-enable */
+ const a = new URL('https://example.com/');
+ assert_equals(JSON.stringify(a), '"https://example.com/"');
+});
0 commit comments