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