Commit 5919767
committed
test(template-no-invalid-role): absorb audit-fixture cases, drop audit fixture
Upstream maintainers don't want the per-PR `tests/audit/peer-parity`
pattern. Port two cases that pinned distinct behavior:
- `role=""` as VALID — documented divergence; we early-return on
empty/whitespace role values where jsx-a11y / vue-a11y flag.
- `role="datepicker"` as INVALID — common authoring confusion that
exercises the unknown-role path with a more likely real-world typo
than `role="invalid"`.
Other audit cases were already covered by the regular tests.1 parent 909e56d commit 5919767
2 files changed
Lines changed: 13 additions & 159 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
97 | 102 | | |
98 | 103 | | |
99 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
100 | 113 | | |
101 | 114 | | |
102 | 115 | | |
| |||
0 commit comments