Skip to content

Repository hygiene

App has server logic but no testslaunch.no-tests

There are API routes or server actions but not a single test file. Every change (yours or an AI assistant's) can break sign-in, payments or data writes without anyone noticing until users do.

  • In force Rule launch.no-tests
  • 3 clauses

At a glance

launch.no-tests
Severitylow
CertaintyObserved — the code as written is the problem
Looks atyour source code
When it runsRuns on every scan

How to fix it

Start with a few tests for the riskiest paths (auth, payments, data writes) using Vitest or Jest, and run them in CI on every push.

Check your own app

Run npx scanlyfix scan in your project. Every finding gets an id; after fixing, npx scanlyfix verify <id> proves it is gone.

If it is a false positive in your project, silence that one line with // scanlyfix-ignore-next-line launch.no-tests -- <why>.

All rules

Your code stays
on your machine

Only findings are uploaded, and only to your own dashboard.