diff --git a/src/index.ts b/src/index.ts index 01e936e..69446ed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -139,6 +139,7 @@ export const checkA11y = async ( results: { violations }, options, } as CreateReport) + testResultDependsOnViolations(violations, skipFailures) } else console.log('There were no violations to save in report') } else if (reporter === 'junit') { // Get the system root directory