Simplify 'only-failed' to 'failed'

This commit is contained in:
Michal Dorner 2021-01-28 22:18:29 +01:00
parent f55c0119bb
commit 96e91aa726
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
7 changed files with 29 additions and 25 deletions

View file

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