Code
F9004 untested
A warning. A function, a flow, a screen, a table or a route that no test touched in its last run.
Details
forjr test keeps what each test touched in .forjr/tests.json: the functions and flows it called, the screens it drew, the tables it read and wrote, also through app.rows and app.make, and the routes it asked. forjr check reads that record, and warns of each definition that none of them touched:
TypeScript
export const refund = action('refund', { access: role('staff'), ... }) // F9004: no test calls refundAn agent is a flow, and is held the same way. A project whose tests never ran has no record, and nothing is told. forjr impact reads the same record, and names a changed definition that no test touched as untested.
The fix
Write a test under tests/ that reaches the definition, and run forjr test: the warning is gone once a test touched it.