summaryrefslogtreecommitdiff
path: root/tests/node_compat/test/parallel/test-child-process-exec-timeout-not-expired.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/node_compat/test/parallel/test-child-process-exec-timeout-not-expired.js')
-rw-r--r--tests/node_compat/test/parallel/test-child-process-exec-timeout-not-expired.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/node_compat/test/parallel/test-child-process-exec-timeout-not-expired.js b/tests/node_compat/test/parallel/test-child-process-exec-timeout-not-expired.js
index 31fa1f725..d140bcbdd 100644
--- a/tests/node_compat/test/parallel/test-child-process-exec-timeout-not-expired.js
+++ b/tests/node_compat/test/parallel/test-child-process-exec-timeout-not-expired.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';
@@ -33,7 +33,7 @@ if (process.argv[3] === 'child') {
return;
}
-const cmd = `"${process.execPath}" run -A require.ts "${__filename}" child`;
+const cmd = `"${process.execPath}" run -A runner.ts "${__filename}" child`;
cp.exec(cmd, {
timeout: kTimeoutNotSupposedToExpire