diff options
Diffstat (limited to 'tests/specs/test/ignore/main.ts')
| -rw-r--r-- | tests/specs/test/ignore/main.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/specs/test/ignore/main.ts b/tests/specs/test/ignore/main.ts new file mode 100644 index 000000000..2339835db --- /dev/null +++ b/tests/specs/test/ignore/main.ts @@ -0,0 +1,17 @@ +for (let i = 0; i < 5; i++) { + Deno.test({ + name: `test ${i}`, + ignore: true, + fn() { + throw new Error("unreachable"); + }, + }); +} +for (let i = 5; i < 10; i++) { + Deno.test.ignore({ + name: `test ${i}`, + fn() { + throw new Error("unreachable"); + }, + }); +} |
