UNPKG

axe-core

Version:

Accessibility engine for automated Web UI testing

14 lines (10 loc) 237 B
import { resetStandards } from '../../standards'; function reset() { var audit = axe._audit; if (!audit) { throw new Error('No audit configured'); } audit.resetRulesAndChecks(); resetStandards(); } export default reset;