Skip to content

Commit

Permalink
fix: update automatic.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
navateja-alagam committed Jul 15, 2024
1 parent 20b37ba commit 63a1226
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/jest/src/automatic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export async function automaticCheck(opts: AutoCheckOpts = defaultAutoCheckOpts)
}
}
} catch (e) {
// TODO - remove after validation on custom ruleset AB
if (process.env.SA11Y_CUSTOM_RULES) {
AxeError.throwAxeError(e as Error);
}
Expand Down

0 comments on commit 63a1226

Please sign in to comment.