@@ -15,7 +15,7 @@ If this is a long-running hook, pass a timeout value as the last argument or con
15
15
5 |
16
16
6 | it (' ok' , () => {})
17
17
18
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ [1 / 9 ]⎯
18
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1 / 10 ]⎯
19
19
20
20
FAIL basic .test .ts > afterAll
21
21
Error : Hook timed out in 30ms .
@@ -28,7 +28,7 @@ If this is a long-running hook, pass a timeout value as the last argument or con
28
28
17 |
29
29
18 | it (' ok' , () => {})
30
30
31
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ [2 / 9 ]⎯
31
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2 / 10 ]⎯
32
32
33
33
FAIL basic .test .ts > cleanup - beforeAll
34
34
Error : Hook timed out in 50ms .
@@ -41,10 +41,10 @@ If this is a long-running hook, pass a timeout value as the last argument or con
41
41
29 |
42
42
30 | it (' ok' , () => {})
43
43
44
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ [3 / 9 ]⎯
44
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3 / 10 ]⎯
45
45
46
46
47
- ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 5 ⎯⎯⎯⎯⎯⎯⎯
47
+ ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 6 ⎯⎯⎯⎯⎯⎯⎯
48
48
49
49
FAIL basic .test .ts > beforeEach > ok
50
50
Error : Hook timed out in 20ms .
@@ -57,7 +57,7 @@ If this is a long-running hook, pass a timeout value as the last argument or con
57
57
11 |
58
58
12 | it (' ok' , () => {})
59
59
60
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ [4 / 9 ]⎯
60
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4 / 10 ]⎯
61
61
62
62
FAIL basic .test .ts > afterEach > ok
63
63
Error : Hook timed out in 40ms .
@@ -70,7 +70,7 @@ If this is a long-running hook, pass a timeout value as the last argument or con
70
70
23 |
71
71
24 | it (' ok' , () => {})
72
72
73
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ [5 / 9 ]⎯
73
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[5 / 10 ]⎯
74
74
75
75
FAIL basic .test .ts > cleanup - beforeEach > ok
76
76
Error : Hook timed out in 60ms .
@@ -83,7 +83,7 @@ If this is a long-running hook, pass a timeout value as the last argument or con
83
83
35 |
84
84
36 | it (' ok' , () => {})
85
85
86
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ [6 / 9 ]⎯
86
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[6 / 10 ]⎯
87
87
88
88
FAIL basic .test .ts > onFailed > fail
89
89
Error : fail
@@ -95,7 +95,7 @@ Error: fail
95
95
43 | })
96
96
44 | })
97
97
98
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ [7 / 9 ]⎯
98
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[7 / 10 ]⎯
99
99
100
100
FAIL basic .test .ts > onFailed > fail
101
101
Error : Hook timed out in 70ms .
@@ -108,7 +108,7 @@ If this is a long-running hook, pass a timeout value as the last argument or con
108
108
42 | throw new Error (' fail' )
109
109
43 | })
110
110
111
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ [8 / 9 ]⎯
111
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[8 / 10 ]⎯
112
112
113
113
FAIL basic .test .ts > onFinished > ok
114
114
Error : Hook timed out in 80ms .
@@ -121,7 +121,19 @@ If this is a long-running hook, pass a timeout value as the last argument or con
121
121
49 | })
122
122
50 | })
123
123
124
- ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[9 / 9 ]⎯
124
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[9 / 10 ]⎯
125
+
126
+ FAIL basic .test .ts > test timeout
127
+ Error : Test timed out in 123ms .
128
+ If this is a long - running test , pass a timeout value as the last argument or configure it globally with " testTimeout" .
129
+ ❯ basic .test .ts :52 :1
130
+ 50 | })
131
+ 51 |
132
+ 52 | it (" test timeout" , () => new Promise (() => {}), 123 )
133
+ | ^
134
+ 53 |
135
+
136
+ ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[10 / 10 ]⎯
125
137
126
138
"
127
139
`;
0 commit comments