File tree Expand file tree Collapse file tree
tests/audit/role-has-required-aria Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // Audit fixture — peer-plugin parity for
2- // `ember/template-require-mandatory-role-attributes`.
1+ // Audit fixture — translates peer-plugin test cases into assertions against
2+ // our rule (`ember/template-require-mandatory-role-attributes`). Runs as
3+ // part of the default Vitest suite (via the `tests/**/*.js` include glob)
4+ // and serves double-duty: (1) auditable record of peer-parity divergences,
5+ // (2) regression coverage pinning CURRENT behavior. Each case encodes what
6+ // OUR rule does today; divergences from upstream plugins are annotated as
7+ // `DIVERGENCE —`. Peer-only constructs that can't be translated to Ember
8+ // templates (JSX spread props, Vue v-bind, Angular `$event`, undefined-handler
9+ // expression analysis) are marked `AUDIT-SKIP`.
310//
411// Source files (context/ checkouts):
512// - eslint-plugin-jsx-a11y-main/src/rules/role-has-required-aria-props.js
815// - angular-eslint-main/packages/eslint-plugin-template/src/rules/role-has-required-aria.ts
916// - angular-eslint-main/packages/eslint-plugin-template/tests/rules/role-has-required-aria/cases.ts
1017// - eslint-plugin-lit-a11y/lib/rules/role-has-required-aria-attrs.js
11- //
12- // These tests are NOT part of the main suite and do not run in CI. They encode
13- // the CURRENT behavior of our rule. Each divergence from an upstream plugin is
14- // annotated as "DIVERGENCE —".
1518
1619'use strict' ;
1720
You can’t perform that action at this time.
0 commit comments