refactor(04-01): move API list test stubs into tests/ mirror dir to match convention
The two Wave-0 RED stubs (lists.test.ts, listEmitter.test.ts) were co-located in src/ but all existing API tests live in apps/api/tests/. Move them to tests/routes/ and tests/lib/, add explicit vitest imports to match the tests/ convention, and update path references in downstream plans 04-02..04-06. PWA tests keep co-location (that IS the PWA convention).
This commit is contained in:
@@ -1020,8 +1020,8 @@ useMutation({
|
||||
|
||||
### Wave 0 Gaps
|
||||
|
||||
- [ ] `apps/api/src/routes/lists.test.ts` — covers LIST-01/02/03/04 API behavior
|
||||
- [ ] `apps/api/src/lib/listEmitter.test.ts` — covers scoped fan-out correctness (D-04)
|
||||
- [ ] `apps/api/tests/routes/lists.test.ts` — covers LIST-01/02/03/04 API behavior
|
||||
- [ ] `apps/api/tests/lib/listEmitter.test.ts` — covers scoped fan-out correctness (D-04)
|
||||
- [ ] `apps/pwa/src/hooks/useListSSE.test.ts` — covers D-11 bounded backoff with mock EventSource
|
||||
- [ ] `apps/pwa/src/routes/ListDetail.test.tsx` — covers optimistic update + rollback (D-07)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user