blob: 3d020a71ff8de48befa8acf5bf33500157406255 (
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
|
Check [WILDCARD]/main.ts
./main.ts => step output ... step 1 ... ok ([WILDCARD]s)
./main.ts => step output ... step 2 ... ok ([WILDCARD]s)
------- output -------
Hello, world! (from step 3)
----- output end -----
./main.ts => step output ... step 3 ... ok ([WILDCARD]s)
------- output -------
Hello, world! (from step 4)
----- output end -----
./main.ts => step output ... step 4 ... ok ([WILDCARD]s)
./main.ts => step output ... ok ([WILDCARD]s)
./main.ts => step failures ... step 1 ... ok ([WILDCARD]s)
./main.ts => step failures ... step 2 ... FAILED ([WILDCARD]s)
./main.ts => step failures ... step 3 ... FAILED ([WILDCARD]s)
./main.ts => step failures ... FAILED (due to 2 failed steps) ([WILDCARD]s)
./main.ts => step nested failure ... step 1 ... inner 1 ... ok ([WILDCARD]s)
./main.ts => step nested failure ... step 1 ... inner 2 ... FAILED ([WILDCARD]s)
./main.ts => step nested failure ... step 1 ... FAILED (due to 1 failed step) ([WILDCARD]s)
./main.ts => step nested failure ... FAILED (due to 1 failed step) ([WILDCARD]s)
ERRORS
step failures ... step 2 => ./main.ts:14:11
error: Error: Fail.
throw new Error("Fail.");
^
at file:///[WILDCARD]/main.ts:15:11
at [WILDCARD]
at file:///[WILDCARD]/main.ts:14:11
step failures ... step 3 => ./main.ts:17:11
error: Error: Fail.
await t.step("step 3", () => Promise.reject(new Error("Fail.")));
^
at file:///[WILDCARD]/main.ts:17:47
at [WILDCARD]
at file:///[WILDCARD]/main.ts:17:11
step nested failure ... step 1 ... inner 2 => ./main.ts:23:13
error: Error: Failed.
throw new Error("Failed.");
^
at file:///[WILDCARD]/main.ts:24:13
at [WILDCARD]
at file:///[WILDCARD]/main.ts:23:13
FAILURES
step failures ... step 2 => ./main.ts:14:11
step failures ... step 3 => ./main.ts:17:11
step nested failure ... step 1 ... inner 2 => ./main.ts:23:13
FAILED | 1 passed (6 steps) | 2 failed (4 steps) ([WILDCARD]s)
error: Test failed
|