Skip to content

Commit 9782549

Browse files
Merge pull request #238 from aliaks-ei/prevent-skip-failures-with-html-reporter
fix: Honor 'skipFailures: false' in HTML reporter
2 parents a847e03 + 4b690e4 commit 9782549

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ export const checkA11y = async (
139139
results: { violations },
140140
options,
141141
} as CreateReport)
142+
testResultDependsOnViolations(violations, skipFailures)
142143
} else console.log('There were no violations to save in report')
143144
} else if (reporter === 'junit') {
144145
// Get the system root directory

0 commit comments

Comments
 (0)