File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,11 @@ const common = require('../common');
44const URL = require ( 'url' ) . URL ;
55const { test, assert_equals } = common . WPT ;
66
7- /* eslint-disable */
87/* WPT Refs:
98 https://github.com/w3c/web-platform-tests/blob/02585db/url/url-tojson.html
109 License: http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html
1110*/
1211test ( ( ) => {
13- const a = new URL ( "https://example.com/" )
14- assert_equals ( JSON . stringify ( a ) , "\"https://example.com/\"" )
15- } )
16- /* eslint-enable */
12+ const a = new URL ( 'https://example.com/' ) ;
13+ assert_equals ( JSON . stringify ( a ) , '"https://example.com/"' ) ;
14+ } ) ;
You can’t perform that action at this time.
0 commit comments