summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/steps/ignored_steps.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/test/steps/ignored_steps.ts')
-rw-r--r--cli/tests/testdata/test/steps/ignored_steps.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/cli/tests/testdata/test/steps/ignored_steps.ts b/cli/tests/testdata/test/steps/ignored_steps.ts
deleted file mode 100644
index 102b481fb..000000000
--- a/cli/tests/testdata/test/steps/ignored_steps.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-Deno.test("ignored step", async (t) => {
- let result = await t.step({
- name: "step 1",
- ignore: true,
- fn: () => {
- throw new Error("Fail.");
- },
- });
- if (result !== false) throw new Error("Expected false.");
- result = await t.step({
- name: "step 2",
- ignore: false,
- fn: () => {},
- });
- if (result !== true) throw new Error("Expected true.");
-});