Skip to content

Commit 323ba3d

Browse files
committed
fix a11y report checking bug
1 parent 7f3f6f5 commit 323ba3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/setup-page-script.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ async function __test(storyId: string): Promise<any> {
458458
a11yParameter?.disable !== true &&
459459
a11yParameter?.test !== 'off' &&
460460
a11yGlobals?.manual !== true &&
461-
a11yReport.result?.violations?.length > 0;
461+
a11yReport?.result?.violations?.length > 0;
462462

463463
if (shouldRunA11yTest) {
464464
const violations = expectToHaveNoViolations(a11yReport.result);

0 commit comments

Comments
 (0)