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.
checkA11y()
skipFailure
1 parent cdec5d9 commit b4514d0Copy full SHA for b4514d0
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