Commit bc3ffbd
test_runner: fix isSkipped check in junit
The `isSkipped` function in the JUnit reporter was incorrectly
checking for `node?.attrs.failures` instead of `node?.attrs.skipped`.
PR-URL: #59414
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com>1 parent caa2db4 commit bc3ffbdCopy full SHA for bc3ffbd
File tree
Expand file treeCollapse file tree
2 files changed
+14
-1
lines changedOpen diff view settings
Filter options
- lib/internal/test_runner/reporter
- test/parallel
Expand file treeCollapse file tree
2 files changed
+14
-1
lines changedOpen diff view settings
Collapse file
lib/internal/test_runner/reporter/junit.js
Copy file name to clipboardExpand all lines: lib/internal/test_runner/reporter/junit.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
| 59 | + |
60 | 60 | |
61 | 61 | |
62 | 62 | |
|
Collapse file
test/parallel/test-runner-reporters.js
Copy file name to clipboardExpand all lines: test/parallel/test-runner-reporters.js+13Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
191 | 191 | |
192 | 192 | |
193 | 193 | |
| 194 | + |
| 195 | + |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + |
| 200 | + |
| 201 | + |
| 202 | + |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + |
194 | 207 | |
0 commit comments