summaryrefslogtreecommitdiff
path: root/cli/js/tests/unit_test_runner.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/tests/unit_test_runner.ts')
-rwxr-xr-xcli/js/tests/unit_test_runner.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/js/tests/unit_test_runner.ts b/cli/js/tests/unit_test_runner.ts
index 62c3250a7..e79e1b7ea 100755
--- a/cli/js/tests/unit_test_runner.ts
+++ b/cli/js/tests/unit_test_runner.ts
@@ -86,7 +86,7 @@ function spawnWorkerRunner(
})
.join(",");
- const args = [
+ const cmd = [
Deno.execPath(),
"run",
"-A",
@@ -97,14 +97,14 @@ function spawnWorkerRunner(
];
if (filter) {
- args.push("--");
- args.push(filter);
+ cmd.push("--");
+ cmd.push(filter);
}
const ioMode = verbose ? "inherit" : "null";
const p = Deno.run({
- args,
+ cmd,
stdin: ioMode,
stdout: ioMode,
stderr: ioMode