Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3024e3a

Browse filesBrowse files
TrottMylesBorins
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 75a849a commit 3024e3a
Copy full SHA for 3024e3a

File tree

Expand file treeCollapse file tree

2 files changed

+6
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+6
-3
lines changed
Open diff view settings
Collapse file
+6Lines changed: 6 additions & 0 deletions
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
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-whatwg-console-is-a-namespace.js
-3Lines changed: 0 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.