summaryrefslogtreecommitdiff
path: root/tests/specs/test/parallel_flag_with_env_variables
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/test/parallel_flag_with_env_variables')
-rw-r--r--tests/specs/test/parallel_flag_with_env_variables/__test__.jsonc6
-rw-r--r--tests/specs/test/parallel_flag_with_env_variables/main.out5
-rw-r--r--tests/specs/test/parallel_flag_with_env_variables/main.ts1
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/specs/test/parallel_flag_with_env_variables/__test__.jsonc b/tests/specs/test/parallel_flag_with_env_variables/__test__.jsonc
new file mode 100644
index 000000000..330313467
--- /dev/null
+++ b/tests/specs/test/parallel_flag_with_env_variables/__test__.jsonc
@@ -0,0 +1,6 @@
+{
+ "args": "test main.ts --parallel",
+ "exitCode": 0,
+ "envs": { "DENO_JOBS": "2" },
+ "output": "main.out"
+}
diff --git a/tests/specs/test/parallel_flag_with_env_variables/main.out b/tests/specs/test/parallel_flag_with_env_variables/main.out
new file mode 100644
index 000000000..54efc4cad
--- /dev/null
+++ b/tests/specs/test/parallel_flag_with_env_variables/main.out
@@ -0,0 +1,5 @@
+Check [WILDCARD]/main.ts
+./main.ts => test ... ok ([WILDCARD])
+
+ok | 1 passed | 0 failed ([WILDCARD])
+
diff --git a/tests/specs/test/parallel_flag_with_env_variables/main.ts b/tests/specs/test/parallel_flag_with_env_variables/main.ts
new file mode 100644
index 000000000..03818ae8d
--- /dev/null
+++ b/tests/specs/test/parallel_flag_with_env_variables/main.ts
@@ -0,0 +1 @@
+Deno.test("test", () => {});