mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 02:45:22 -08:00
Simplify 'only-failed' to 'failed'
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user