What
Find a REST controller route with thin contract coverage and add a supertest *.contract.spec.ts asserting its happy path + one error path.
Where
- Any
apps/api/src/modules/*/controllers/*.controller.ts without a matching *.contract.spec.ts.
How to verify
pnpm --filter @rytask/api test -- path/to/file.contract.spec.ts passes; pnpm check:required-tests stays green.
Notes
Mirror an existing *.contract.spec.ts for the setup boilerplate.
What
Find a REST controller route with thin contract coverage and add a supertest
*.contract.spec.tsasserting its happy path + one error path.Where
apps/api/src/modules/*/controllers/*.controller.tswithout a matching*.contract.spec.ts.How to verify
pnpm --filter @rytask/api test -- path/to/file.contract.spec.tspasses;pnpm check:required-testsstays green.Notes
Mirror an existing
*.contract.spec.tsfor the setup boilerplate.