-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing of ESLint reports in jest-junit format
The [ESLint junit formatter](https://www.npmjs.com/package/eslint-junit) does not include a total time attribute for the root `<testsuites>` element.
- Loading branch information
Philipp Jardas
authored and
Jozef Izso
committed
Jun 26, 2024
1 parent
9557e57
commit 45526f7
Showing
6 changed files
with
65 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
|  | ||
| ## ✅ <a id="user-content-r0" href="#r0">fixtures/jest-junit-eslint.xml</a> | ||
| **1** tests were completed in **0ms** with **1** passed, **0** failed and **0** skipped. | ||
| |Test suite|Passed|Failed|Skipped|Time| | ||
| |:---|---:|---:|---:|---:| | ||
| |[test.jsx](#r0s0)|1✅|||0ms| | ||
| ### ✅ <a id="user-content-r0s0" href="#r0s0">test.jsx</a> | ||
| ``` | ||
| test | ||
| ✅ test.jsx | ||
| ``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <testsuites> | ||
| <testsuite package="org.eslint" time="0" tests="1" errors="0" name="test.jsx"> | ||
| <testcase time="0" name="test.jsx" classname="test" /> | ||
| </testsuite> | ||
| </testsuites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters