From a3cc4a7ac3c86d83476e2c16fb870fc2e993e50a Mon Sep 17 00:00:00 2001 From: Aliaksei Mazheika Date: Wed, 4 Dec 2024 09:17:00 +0000 Subject: [PATCH] fix: Honor 'skipFailures: false' in HTML reporter --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 01e936e..39fe0bc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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