mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
PR-URL: https://github.com/nodejs/node/pull/25321 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
13 lines
300 B
JavaScript
13 lines
300 B
JavaScript
'use strict';
|
|
|
|
// Flags: --expose-internals
|
|
|
|
require('../common');
|
|
const { WPTRunner } = require('../common/wpt');
|
|
const runner = new WPTRunner('encoding');
|
|
|
|
// Copy global descriptors from the global object
|
|
runner.copyGlobalsFromObject(global, ['TextDecoder', 'TextEncoder']);
|
|
|
|
runner.runJsTests();
|