diff options
| author | HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> | 2024-09-16 22:38:40 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-16 19:38:40 +0000 |
| commit | e0b9c745c15720914f14996bf357d5b375e2dbd8 (patch) | |
| tree | 0dfc717082bedb2eec13eceb5cdeb1ef12b8f7f5 /tests/specs/test/collect | |
| parent | 6ce16145dd12d8a272cb543871276c33c8201a37 (diff) | |
chore: deprecate test itests (#25512)
This PR is part of #22907
---------
Signed-off-by: HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com>
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/specs/test/collect')
| -rw-r--r-- | tests/specs/test/collect/__test__.jsonc | 5 | ||||
| -rw-r--r-- | tests/specs/test/collect/collect/deno.jsonc | 5 | ||||
| -rw-r--r-- | tests/specs/test/collect/collect/deno.malformed.jsonc | 5 | ||||
| -rw-r--r-- | tests/specs/test/collect/collect/deno2.jsonc | 6 | ||||
| -rw-r--r-- | tests/specs/test/collect/collect/ignore/test.ts | 1 | ||||
| -rw-r--r-- | tests/specs/test/collect/collect/include.ts | 0 | ||||
| -rw-r--r-- | tests/specs/test/collect/collect/include/2_test.ts | 0 | ||||
| -rw-r--r-- | tests/specs/test/collect/collect/include/test.ts | 0 | ||||
| -rw-r--r-- | tests/specs/test/collect/collect/test.ts | 0 | ||||
| -rw-r--r-- | tests/specs/test/collect/main.out | 9 |
10 files changed, 31 insertions, 0 deletions
diff --git a/tests/specs/test/collect/__test__.jsonc b/tests/specs/test/collect/__test__.jsonc new file mode 100644 index 000000000..3a45c41a4 --- /dev/null +++ b/tests/specs/test/collect/__test__.jsonc @@ -0,0 +1,5 @@ +{ + "args": "test --ignore=collect/ignore collect", + "exitCode": 0, + "output": "main.out" +} diff --git a/tests/specs/test/collect/collect/deno.jsonc b/tests/specs/test/collect/collect/deno.jsonc new file mode 100644 index 000000000..e14ce86da --- /dev/null +++ b/tests/specs/test/collect/collect/deno.jsonc @@ -0,0 +1,5 @@ +{ + "test": { + "exclude": ["./ignore"] + } +} diff --git a/tests/specs/test/collect/collect/deno.malformed.jsonc b/tests/specs/test/collect/collect/deno.malformed.jsonc new file mode 100644 index 000000000..f2d8cbc65 --- /dev/null +++ b/tests/specs/test/collect/collect/deno.malformed.jsonc @@ -0,0 +1,5 @@ +{ + "test": { + "dont_know_this_field": {} + } +} diff --git a/tests/specs/test/collect/collect/deno2.jsonc b/tests/specs/test/collect/collect/deno2.jsonc new file mode 100644 index 000000000..b7af09d1c --- /dev/null +++ b/tests/specs/test/collect/collect/deno2.jsonc @@ -0,0 +1,6 @@ +{ + "test": { + "include": ["./include/"], + "exclude": ["./ignore", "./include/2_test.ts"] + } +} diff --git a/tests/specs/test/collect/collect/ignore/test.ts b/tests/specs/test/collect/collect/ignore/test.ts new file mode 100644 index 000000000..16fb63ba7 --- /dev/null +++ b/tests/specs/test/collect/collect/ignore/test.ts @@ -0,0 +1 @@ +throw new Error("this module should be ignored"); diff --git a/tests/specs/test/collect/collect/include.ts b/tests/specs/test/collect/collect/include.ts new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/specs/test/collect/collect/include.ts diff --git a/tests/specs/test/collect/collect/include/2_test.ts b/tests/specs/test/collect/collect/include/2_test.ts new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/specs/test/collect/collect/include/2_test.ts diff --git a/tests/specs/test/collect/collect/include/test.ts b/tests/specs/test/collect/collect/include/test.ts new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/specs/test/collect/collect/include/test.ts diff --git a/tests/specs/test/collect/collect/test.ts b/tests/specs/test/collect/collect/test.ts new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/specs/test/collect/collect/test.ts diff --git a/tests/specs/test/collect/main.out b/tests/specs/test/collect/main.out new file mode 100644 index 000000000..13a76fc37 --- /dev/null +++ b/tests/specs/test/collect/main.out @@ -0,0 +1,9 @@ +Check [WILDCARD]/collect/include/2_test.ts +Check [WILDCARD]/collect/include/test.ts +Check [WILDCARD]/collect/test.ts +running 0 tests from [WILDCARD]/collect/include/2_test.ts +running 0 tests from [WILDCARD]/collect/include/test.ts +running 0 tests from [WILDCARD]/collect/test.ts + +ok | 0 passed | 0 failed ([WILDCARD]) + |
