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