mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 02:45:22 -08:00
chore: run linter to fix code style issues
This commit is contained in:
@@ -263,15 +263,15 @@ describe('jest-junit tests', () => {
|
||||
|
||||
const parser = new JestJunitParser(opts)
|
||||
const result = await parser.parse(filePath, fileContent)
|
||||
|
||||
|
||||
// Check if this fixture has failures to determine expected behavior
|
||||
const hasFailed = result.failed > 0
|
||||
|
||||
|
||||
const report = getReport([result], {
|
||||
...DEFAULT_OPTIONS,
|
||||
collapsed: 'auto'
|
||||
})
|
||||
|
||||
|
||||
if (hasFailed) {
|
||||
// Should not collapse when there are failures
|
||||
expect(report).not.toContain('<details><summary>Expand for details</summary>')
|
||||
|
||||
Reference in New Issue
Block a user