From ee0c0586b318fe23908a3b9b4311b26d79c5c8a1 Mon Sep 17 00:00:00 2001 From: Mark Ladyshau <47859603+mrkldshv@users.noreply.github.com> Date: Fri, 15 Jul 2022 16:29:55 +0200 Subject: feat(cli/test): add `DENO_JOBS` env variable for `test` subcommand (#14929) --- cli/tests/testdata/test/short-pass-jobs-flag-with-numeric-value.out | 6 ++++++ cli/tests/testdata/test/short-pass.out | 6 ++++++ cli/tests/testdata/test/short-pass.ts | 1 + 3 files changed, 13 insertions(+) create mode 100644 cli/tests/testdata/test/short-pass-jobs-flag-with-numeric-value.out create mode 100644 cli/tests/testdata/test/short-pass.out create mode 100644 cli/tests/testdata/test/short-pass.ts (limited to 'cli/tests/testdata') diff --git a/cli/tests/testdata/test/short-pass-jobs-flag-with-numeric-value.out b/cli/tests/testdata/test/short-pass-jobs-flag-with-numeric-value.out new file mode 100644 index 000000000..09b72d5fd --- /dev/null +++ b/cli/tests/testdata/test/short-pass-jobs-flag-with-numeric-value.out @@ -0,0 +1,6 @@ +Check [WILDCARD]/test/short-pass.ts +running 1 test from ./test/short-pass.ts +test ... ok ([WILDCARD]) + +ok | 1 passed | 0 failed ([WILDCARD]) + diff --git a/cli/tests/testdata/test/short-pass.out b/cli/tests/testdata/test/short-pass.out new file mode 100644 index 000000000..09b72d5fd --- /dev/null +++ b/cli/tests/testdata/test/short-pass.out @@ -0,0 +1,6 @@ +Check [WILDCARD]/test/short-pass.ts +running 1 test from ./test/short-pass.ts +test ... ok ([WILDCARD]) + +ok | 1 passed | 0 failed ([WILDCARD]) + diff --git a/cli/tests/testdata/test/short-pass.ts b/cli/tests/testdata/test/short-pass.ts new file mode 100644 index 000000000..03818ae8d --- /dev/null +++ b/cli/tests/testdata/test/short-pass.ts @@ -0,0 +1 @@ +Deno.test("test", () => {}); -- cgit v1.2.3