0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/wpt/test-console.js
Joyee Cheung a96ba1c8b6 test: remove reference to whatwg in file names under test/wpt
WPT covers standards in both W3C and WHATWG, as such it would be
strange to make this disparity explicit in our file names
(e.g. when testing standards that are solely in W3C, like
performance-timeline). Remove the reference to WHATWG will
also make the file names shorter.

PR-URL: https://github.com/nodejs/node/pull/24826
Refs: https://github.com/nodejs/node/issues/24823
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
2018-12-14 18:04:43 -08:00

14 lines
303 B
JavaScript

'use strict';
// Flags: --expose-internals --experimental-worker
require('../common');
const { WPTRunner } = require('../common/wpt');
const runner = new WPTRunner('console');
// Copy global descriptors from the global object
runner.copyGlobalsFromObject(global, ['console']);
runner.runJsTests();