There was an error while loading. Please reload this page.
1 parent 990e9e8 commit d84ff2eCopy full SHA for d84ff2e
1 file changed
test/parallel/test-common-wpt-script-modifier.js
@@ -18,8 +18,8 @@ if (process.env.NODE_TEST_WPT_MODIFIER_PROBE === '1') {
18
}, 2));
19
runner.runJsTests();
20
} else {
21
- const env = { ...process.env, NODE_TEST_WPT_MODIFIER_PROBE: '1' };
22
- for (const key of ['NODE_TEST_WPT', 'WPT_REPORT', 'WPT_INSPECT']) delete env[key];
+ // eslint-disable-next-line no-unused-vars
+ const { NODE_TEST_WPT, WPT_REPORT, WPT_INSPECT, ...env } = { ...process.env, NODE_TEST_WPT_MODIFIER_PROBE: '1' };
23
for (const backend of ['thread', 'process']) {
24
const result = spawnSync(process.execPath, [__filename, 'base64.any.js'], {
25
env: { ...env, WPT_BACKEND: backend },
0 commit comments