Commit 6b37a2b
committed
test(template-require-iframe-title): absorb audit-fixture cases, drop audit fixture
Upstream maintainers don't want the per-PR `tests/audit/peer-parity`
pattern — it's conceptual overhead for a narrow BUGFIX, requires a
parallel vitest config to keep out of the default suite, and reads as
documentation rather than executable coverage.
Port the one assertion from the iframe-title audit fixture that wasn't
already covered by the regular suite — `<iframe title={{""}} />` as
a documented under-flag — into the regular test file with an inline
comment explaining the divergence. All other audit cases were either
already covered or pure peer-plugin restatements without unique signal.
Drop:
- `tests/audit/iframe-title/peer-parity.js`
- `tests/audit/vitest.audit.config.mjs` (the parallel config)
- `tests/audit/**` exclusion in `vitest.config.mjs`
- `test:audit` script in `package.json`
Diff vs origin/master is now purely the rule fix, rule tests, and docs.1 parent e0e37f7 commit 6b37a2b
5 files changed
Lines changed: 8 additions & 243 deletions
File tree
- tests
- audit
- iframe-title
- lib/rules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
20 | 27 | | |
21 | 28 | | |
22 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 8 | + | |
20 | 9 | | |
21 | 10 | | |
22 | 11 | | |
| |||
0 commit comments