Commit 846e2b2
test: refactor test_runner tests to change default reporter
This commit updates the test runner tests in order to switch the
default reporter from tap to spec. This commit can be backported,
while changing the default reporter cannot.
Refs: #54540
PR-URL: #54547
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>1 parent 3879814 commit 846e2b2Copy full SHA for 846e2b2
File tree
Expand file treeCollapse file tree
13 files changed
+220
-100
lines changedOpen diff view settings
Filter options
- test
- common
- parallel
Expand file treeCollapse file tree
13 files changed
+220
-100
lines changedOpen diff view settings
Collapse file
test/common/assertSnapshot.js
Copy file name to clipboardExpand all lines: test/common/assertSnapshot.js+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
77 | 77 | |
78 | 78 | |
79 | 79 | |
80 | | - |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
81 | 85 | |
82 | 86 | |
83 | 87 | |
|
Collapse file
test/parallel/test-runner-cli.js
Copy file name to clipboardExpand all lines: test/parallel/test-runner-cli.js+16-8Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
29 | | - |
| 29 | + |
| 30 | + |
30 | 31 | |
31 | 32 | |
32 | 33 | |
| ||
47 | 48 | |
48 | 49 | |
49 | 50 | |
| 51 | + |
50 | 52 | |
51 | 53 | |
52 | 54 | |
| ||
67 | 69 | |
68 | 70 | |
69 | 71 | |
| 72 | + |
70 | 73 | |
71 | 74 | |
72 | 75 | |
| ||
83 | 86 | |
84 | 87 | |
85 | 88 | |
| 89 | + |
86 | 90 | |
87 | 91 | |
88 | 92 | |
| ||
105 | 109 | |
106 | 110 | |
107 | 111 | |
108 | | - |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | | - |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
114 | 118 | |
115 | 119 | |
116 | 120 | |
117 | 121 | |
118 | 122 | |
119 | 123 | |
| 124 | + |
120 | 125 | |
121 | 126 | |
122 | 127 | |
| ||
189 | 194 | |
190 | 195 | |
191 | 196 | |
| 197 | + |
192 | 198 | |
193 | 199 | |
194 | 200 | |
| ||
223 | 229 | |
224 | 230 | |
225 | 231 | |
226 | | - |
| 232 | + |
227 | 233 | |
228 | 234 | |
229 | 235 | |
| ||
290 | 296 | |
291 | 297 | |
292 | 298 | |
| 299 | + |
293 | 300 | |
294 | 301 | |
295 | 302 | |
| ||
324 | 331 | |
325 | 332 | |
326 | 333 | |
| 334 | + |
327 | 335 | |
328 | 336 | |
329 | 337 | |
|
Collapse file
test/parallel/test-runner-exit-code.js
Copy file name to clipboardExpand all lines: test/parallel/test-runner-exit-code.js+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
| 15 | + |
16 | 16 | |
17 | 17 | |
18 | 18 | |
| ||
58 | 58 | |
59 | 59 | |
60 | 60 | |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
65 | 65 | |
66 | 66 | |
67 | 67 | |
|
Collapse file
test/parallel/test-runner-extraneous-async-activity.js
Copy file name to clipboardExpand all lines: test/parallel/test-runner-extraneous-async-activity.js+22-22Lines changed: 22 additions & 22 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
31 | 31 | |
32 | 32 | |
33 | 33 | |
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
48 | 48 | |
49 | 49 | |
50 | 50 | |
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
60 | | - |
61 | | - |
62 | | - |
63 | | - |
64 | | - |
65 | | - |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
66 | 66 | |
67 | 67 | |
68 | 68 | |
Collapse file
test/parallel/test-runner-force-exit-failure.js
Copy file name to clipboardExpand all lines: test/parallel/test-runner-force-exit-failure.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
| 11 | + |
11 | 12 | |
12 | 13 | |
13 | 14 | |
| ||
19 | 20 | |
20 | 21 | |
21 | 22 | |
22 | | - |
| 23 | + |
23 | 24 | |
24 | 25 | |
Collapse file
test/parallel/test-runner-inspect.mjs
Copy file name to clipboardExpand all lines: test/parallel/test-runner-inspect.mjs+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
| 15 | + |
16 | 16 | |
17 | 17 | |
18 | 18 | |
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
42 | 45 | |
43 | 46 | |
44 | 47 | |
|
Collapse file
test/parallel/test-runner-misc.js
Copy file name to clipboardExpand all lines: test/parallel/test-runner-misc.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | | - |
37 | | - |
38 | | - |
| 36 | + |
| 37 | + |
| 38 | + |
39 | 39 | |
40 | 40 | |
41 | 41 | |
Collapse file
test/parallel/test-runner-module-mocking.js
Copy file name to clipboardExpand all lines: test/parallel/test-runner-module-mocking.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
571 | 571 | |
572 | 572 | |
573 | 573 | |
574 | | - |
| 574 | + |
575 | 575 | |
576 | 576 | |
577 | 577 | |
|
Collapse file
test/parallel/test-runner-no-isolation-filtering.js
Copy file name to clipboardExpand all lines: test/parallel/test-runner-no-isolation-filtering.js+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
| 14 | + |
14 | 15 | |
15 | 16 | |
16 | 17 | |
| ||
33 | 34 | |
34 | 35 | |
35 | 36 | |
| 37 | + |
36 | 38 | |
37 | 39 | |
38 | 40 | |
| ||
52 | 54 | |
53 | 55 | |
54 | 56 | |
| 57 | + |
55 | 58 | |
56 | 59 | |
57 | 60 | |
|
0 commit comments