mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
Simplify 'only-failed' to 'failed'
This commit is contained in:
parent
f55c0119bb
commit
96e91aa726
7 changed files with 29 additions and 25 deletions
|
|
@ -48,7 +48,7 @@ describe('jest-junit tests', () => {
|
|||
const result = await parseJestJunit([xmlFixture], opts)
|
||||
expect(result).toMatchSnapshot()
|
||||
|
||||
const report = getReport(result.testRuns, {listTests: 'only-failed'})
|
||||
const report = getReport(result.testRuns, {listTests: 'failed'})
|
||||
fs.mkdirSync(path.dirname(outputPath), {recursive: true})
|
||||
fs.writeFileSync(outputPath, report)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue