summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/steps/failing_steps.out
blob: 2095eda519006f44022276d36d477930282369a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[WILDCARD]
running 3 tests from ./test/steps/failing_steps.ts
nested failure ...
  step 1 ...
    inner 1 ... FAILED ([WILDCARD])
      Error: Failed.
            throw new Error("Failed.");
                  ^
          at [WILDCARD]/failing_steps.ts:[WILDCARD]
          [WILDCARD]
    inner 2 ... ok ([WILDCARD])
  FAILED ([WILDCARD])
FAILED ([WILDCARD])
multiple test step failures ...
  step 1 ... FAILED ([WILDCARD])
    Error: Fail.
        throw new Error("Fail.");
              ^
        [WILDCARD]
  step 2 ... FAILED ([WILDCARD])
    Error: Fail.
      await t.step("step 2", () => Promise.reject(new Error("Fail.")));
                                                  ^
        at [WILDCARD]/failing_steps.ts:[WILDCARD]
        [WILDCARD]
FAILED ([WILDCARD])
failing step in failing test ...
  step 1 ... FAILED ([WILDCARD])
    Error: Fail.
        throw new Error("Fail.");
              ^
        at [WILDCARD]/failing_steps.ts:[WILDCARD]
        at [WILDCARD]
FAILED ([WILDCARD])

failures:

./test/steps/failing_steps.ts > nested failure
Error: 1 test step failed.
    at runTest (deno:runtime/js/40_testing.js:[WILDCARD])
    at async Object.runTests (deno:runtime/js/40_testing.js:[WILDCARD])

./test/steps/failing_steps.ts > multiple test step failures
Error: 2 test steps failed.
    at runTest (deno:runtime/js/40_testing.js:[WILDCARD])
    at async Object.runTests (deno:runtime/js/40_testing.js:[WILDCARD])

./test/steps/failing_steps.ts > failing step in failing test
Error: Fail test.
  throw new Error("Fail test.");
        ^
    at [WILDCARD]/failing_steps.ts:[WILDCARD]

failures:

	./test/steps/failing_steps.ts
	nested failure
	multiple test step failures
	failing step in failing test

test result: FAILED. 0 passed (1 step); 3 failed (5 steps); 0 ignored; 0 measured; 0 filtered out ([WILDCARD])

error: Test failed