diff options
Diffstat (limited to 'cli/tests/testdata/test/steps/failing_steps.out')
-rw-r--r-- | cli/tests/testdata/test/steps/failing_steps.out | 61 |
1 files changed, 29 insertions, 32 deletions
diff --git a/cli/tests/testdata/test/steps/failing_steps.out b/cli/tests/testdata/test/steps/failing_steps.out index c68889c8d..4b717f5cc 100644 --- a/cli/tests/testdata/test/steps/failing_steps.out +++ b/cli/tests/testdata/test/steps/failing_steps.out @@ -3,47 +3,42 @@ running 3 tests from ./test/steps/failing_steps.ts nested failure ... step 1 ... inner 1 ... FAILED ([WILDCARD]) - error: Error: Failed. - throw new Error("Failed."); - ^ - at [WILDCARD]/failing_steps.ts:[WILDCARD] - [WILDCARD] inner 2 ... ok ([WILDCARD]) - step 1 ... FAILED ([WILDCARD]) -nested failure ... FAILED ([WILDCARD]) + step 1 ... FAILED (due to 1 failed step) ([WILDCARD]) +nested failure ... FAILED (due to 1 failed step) ([WILDCARD]) multiple test step failures ... step 1 ... FAILED ([WILDCARD]) - error: Error: Fail. - throw new Error("Fail."); - ^ - [WILDCARD] step 2 ... FAILED ([WILDCARD]) - error: Error: Fail. - await t.step("step 2", () => Promise.reject(new Error("Fail."))); - ^ - at [WILDCARD]/failing_steps.ts:[WILDCARD] - [WILDCARD] -multiple test step failures ... FAILED ([WILDCARD]) +multiple test step failures ... FAILED (due to 2 failed steps) ([WILDCARD]) failing step in failing test ... step 1 ... FAILED ([WILDCARD]) - error: Error: Fail. - throw new Error("Fail."); - ^ - at [WILDCARD]/failing_steps.ts:[WILDCARD] - at [WILDCARD] failing step in failing test ... FAILED ([WILDCARD]) ERRORS -nested failure => ./test/steps/failing_steps.ts:[WILDCARD] -error: Error: 1 test step failed. - at runTest (ext:cli/40_testing.js:[WILDCARD]) - at async runTests (ext:cli/40_testing.js:[WILDCARD]) +nested failure ... step 1 ... inner 1 => ./test/steps/failing_steps.ts:[WILDCARD] +error: Error: Failed. + throw new Error("Failed."); + ^ + at [WILDCARD]/failing_steps.ts:[WILDCARD] + +multiple test step failures ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD] +error: Error: Fail. + throw new Error("Fail."); + ^ + at [WILDCARD]/failing_steps.ts:[WILDCARD] -multiple test step failures => ./test/steps/failing_steps.ts:[WILDCARD] -error: Error: 2 test steps failed. - at runTest (ext:cli/40_testing.js:[WILDCARD]) - at async runTests (ext:cli/40_testing.js:[WILDCARD]) +multiple test step failures ... step 2 => ./test/steps/failing_steps.ts:[WILDCARD] +error: Error: Fail. + await t.step("step 2", () => Promise.reject(new Error("Fail."))); + ^ + at [WILDCARD]/failing_steps.ts:[WILDCARD] + +failing step in failing test ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD] +error: Error: Fail. + throw new Error("Fail."); + ^ + at [WILDCARD]/failing_steps.ts:[WILDCARD] failing step in failing test => ./test/steps/failing_steps.ts:[WILDCARD] error: Error: Fail test. @@ -53,8 +48,10 @@ error: Error: Fail test. FAILURES -nested failure => ./test/steps/failing_steps.ts:[WILDCARD] -multiple test step failures => ./test/steps/failing_steps.ts:[WILDCARD] +nested failure ... step 1 ... inner 1 => ./test/steps/failing_steps.ts:[WILDCARD] +multiple test step failures ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD] +multiple test step failures ... step 2 => ./test/steps/failing_steps.ts:[WILDCARD] +failing step in failing test ... step 1 => ./test/steps/failing_steps.ts:[WILDCARD] failing step in failing test => ./test/steps/failing_steps.ts:[WILDCARD] FAILED | 0 passed (1 step) | 3 failed (5 steps) ([WILDCARD]) |