Untested file
What an untested-file finding of fallow health means, why it matters and how to fix it.
What it reports
Runtime-reachable file has no test dependency path.
Health explains how fallow finds it.
Why it matters
No test imports the file, directly or through other modules. A change to the file can break production, and no test fails.
Example
src/routes/checkout.ts imports src/billing/invoice.ts, but no test file imports either module, directly or through other modules.
Fix
Add or wire a test that imports the runtime path, or update entry-point/test discovery if the existing test is invisible to fallow.
Facts
| Fact | Value |
|---|---|
| Issue type | untested-file |
| Rule id in SARIF output | fallow/untested-file |
| Command | fallow health |
| Default severity | off |
| Filter option | --coverage-gaps |
| Suppression comment | // fallow-ignore-file coverage-gaps |
Fixable with fallow fix | No |
| Opt-in | Yes |