node/test/parallel/test-console-self-assign.js
Rich Trott 2ea6546f73
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>
2018-11-29 11:38:17 -05:00

7 lines
150 B
JavaScript

'use strict';
require('../common');
// Assigning to itself should not throw.
global.console = global.console; // eslint-disable-line no-self-assign