We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 436a183 + b4514d0 commit e159b88Copy full SHA for e159b88
src/index.ts
@@ -160,10 +160,10 @@ export const checkA11y = async (
160
reporterWithOptions = reporter
161
}
162
163
- if (reporter !== 'html')
+ if (reporter !== 'html' && reporter !== 'junit')
164
await reportViolations(impactedViolations, reporterWithOptions)
165
166
- if (reporter === 'v2' || (reporter !== 'html' && reporter !== 'junit'))
+ if (reporter === 'v2' || (reporter !== 'html'))
167
testResultDependsOnViolations(impactedViolations, skipFailures)
168
169
0 commit comments