Skip to content

Commit 15ac48a

Browse files
committed
fixup: also pass env
1 parent aa20c6f commit 15ac48a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/parallel/test-unicode-node-options.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ if (process.argv.length === 2) {
1212
const result = cp.spawnSync(process.argv0,
1313
['--expose-internals', __filename, 'test'],
1414
{
15-
env: { NODE_OPTIONS },
15+
env: {
16+
...process.env,
17+
NODE_OPTIONS
18+
},
1619
stdio: 'inherit'
1720
});
1821
assert.strictEqual(result.status, 0);

0 commit comments

Comments
 (0)