frontend-testing-strategy

Installation
SKILL.md

Frontend testing strategy

Write tests for Grafana frontend code that pass review on the first pass. Goals: assert concrete behavior, not existence; keep test descriptions honest; verify the test actually exercises the target code path; and stabilize the known flake classes. Several codeowner paths are opted into the gating check-frontend-test-coverage.yml check, so coverage that drops fails CI.

Resolve the target

Interpret the argument to decide scope:

  • A file path → test that file (create or extend its co-located *.test.ts(x)).
  • A directory / component / module name → the source files under it lacking meaningful coverage.
  • "current file" / no path but a file is open → the open file.
  • No argument → ask which file/area; don't blanket-generate.
Installs
3
Repository
grafana/grafana
GitHub Stars
76.5K
First Seen
Aug 21, 2026
frontend-testing-strategy — grafana/grafana