Skip to content

Commit

Permalink
fix: Honor 'skipFailures: false' in HTML reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
aliaks-ei committed Dec 4, 2024
1 parent 006c14a commit a3cc4a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const checkA11y = async (
results: { violations },
options,
} as CreateReport)
testResultDependsOnViolations(impactedViolations, skipFailures)
} else console.log('There were no violations to save in report')
} else if (reporter === 'junit') {
// Get the system root directory
Expand Down

0 comments on commit a3cc4a7

Please sign in to comment.