Skip to content

Commit 9f7b549

Browse files
committed
Revert "test: remove eslint comments"
This reverts commit 8d1f15b to preserve the original WPT code. PR-URL: #12743 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Daijiro Wachi <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 10ccf56 commit 9f7b549

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/parallel/test-whatwg-url-tojson.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ const common = require('../common');
44
const URL = require('url').URL;
55
const { test, assert_equals } = common.WPT;
66

7+
/* eslint-disable */
78
/* WPT Refs:
89
https://github.com/w3c/web-platform-tests/blob/02585db/url/url-tojson.html
910
License: http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html
1011
*/
1112
test(() => {
12-
const a = new URL('https://example.com/');
13-
assert_equals(JSON.stringify(a), '"https://example.com/"');
14-
});
13+
const a = new URL("https://example.com/")
14+
assert_equals(JSON.stringify(a), "\"https://example.com/\"")
15+
})
16+
/* eslint-enable */

0 commit comments

Comments
 (0)