Skip to content

Commit bd7e57a

Browse files
Trottjasnell
authored andcommitted
test: separate WPT console test from other test
Remove one test from test-whatwg-console-is-a-namespace that is not part of the WPT test. Put it in test-console-self-assign. PR-URL: #23340 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 172e552 commit bd7e57a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
'use strict';
2+
3+
require('../common');
4+
5+
// Assigning to itself should not throw.
6+
global.console = global.console; // eslint-disable-line no-self-assign

test/parallel/test-whatwg-console-is-a-namespace.js

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ require('../common');
55
const { test, assert_equals, assert_true, assert_false } =
66
require('../common/wpt');
77

8-
// Assigning to itself should not throw.
9-
global.console = global.console; // eslint-disable-line no-self-assign
10-
118
const self = global;
129

1310
/* eslint-disable quotes, max-len */

0 commit comments

Comments
 (0)