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:
Philipp Jardas 2021-08-06 14:05:34 +02:00 committed by Jozef Izso
parent 9557e57e83
commit 45526f79fd
6 changed files with 65 additions and 2 deletions

View file

@ -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>