diff options
Diffstat (limited to 'tests/node_compat/test/parallel/test-child-process-exec-encoding.js')
-rw-r--r-- | tests/node_compat/test/parallel/test-child-process-exec-encoding.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/node_compat/test/parallel/test-child-process-exec-encoding.js b/tests/node_compat/test/parallel/test-child-process-exec-encoding.js index fe03e98d0..2f261494a 100644 --- a/tests/node_compat/test/parallel/test-child-process-exec-encoding.js +++ b/tests/node_compat/test/parallel/test-child-process-exec-encoding.js @@ -7,7 +7,7 @@ // TODO(PolarETech): The process.argv[3] check should be argv[2], and the // command passed to exec() should not need to include "run", "-A", -// and "require.ts". +// and "runner.ts". 'use strict'; const common = require('../common'); @@ -24,7 +24,7 @@ if (process.argv[3] === 'child') { const expectedStdout = `${stdoutData}\n`; const expectedStderr = `${stderrData}\n`; function run(options, callback) { - const cmd = `"${process.execPath}" run -A require.ts "${__filename}" child`; + const cmd = `"${process.execPath}" run -A runner.ts "${__filename}" child`; cp.exec(cmd, options, common.mustSucceed((stdout, stderr) => { callback(stdout, stderr); |