mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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: https://github.com/nodejs/node/pull/23340 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
d4f25ed656
commit
2ea6546f73
2 files changed
+6
-3
No files matched your search
@@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
require('../common');
|
||||
|
||||
// Assigning to itself should not throw.
|
||||
global.console = global.console; // eslint-disable-line no-self-assign
|
||||
@@ -5,9 +5,6 @@ require('../common');
|
||||
const { test, assert_equals, assert_true, assert_false } =
|
||||
require('../common/wpt');
|
||||
|
||||
// Assigning to itself should not throw.
|
||||
global.console = global.console; // eslint-disable-line no-self-assign
|
||||
|
||||
const self = global;
|
||||
|
||||
/* eslint-disable quotes, max-len */
|
||||
|
||||
Reference in new issue
Block a user