.agents/skills/frontend-code-review/references/testing.md
web/docs/test.md is the canonical frontend testing policy. Use this file only to translate that policy into review findings.
Flag missing coverage when a change alters a reachable contract such as:
Do not request tests for mechanical changes, pass-through wrappers, implementation details, or visual-only styling unless they affect behavior. Low coverage alone is not a finding.
Flag tests that:
data-testid attributes where semantic markup would work.happy-dom cannot represent the risk.Treat test quality, determinism, and regression value as the review criteria. Do not use test count or coverage percentage as a proxy for quality.