mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
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.
This commit is contained in:
parent
9557e57e83
commit
45526f79fd
6 changed files with 65 additions and 2 deletions
11
__tests__/__outputs__/jest-junit-eslint.md
Normal file
11
__tests__/__outputs__/jest-junit-eslint.md
Normal file
|
|
@ -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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue