mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: remove hack for atob
and btoa
WPT tests
PR-URL: https://github.com/nodejs/node/pull/42540 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Mestery <mestery@protonmail.com>
This commit is contained in:
parent
b07dc4d19f
commit
48dbec8b60
@ -5,13 +5,4 @@ const { WPTRunner } = require('../common/wpt');
|
||||
|
||||
const runner = new WPTRunner('html/webappapis/atob');
|
||||
|
||||
// Needed to access to DOMException.
|
||||
runner.setFlags(['--expose-internals']);
|
||||
|
||||
// Set a script that will be executed in the worker before running the tests.
|
||||
runner.setInitScript(`
|
||||
const { internalBinding } = require('internal/test/binding');
|
||||
const { atob, btoa } = require('buffer');
|
||||
`);
|
||||
|
||||
runner.runJsTests();
|
||||
|
Loading…
Reference in New Issue
Block a user