Scrum4Me/__tests__/api
Madhura68 ead91cef5f test(security): extend security.test.ts to cover all 7 API endpoints
Adds 401, 403 demo-block, and cross-user isolation tests for:
GET /api/products/:id/next-story, GET /api/sprints/:id/tasks,
PATCH /api/stories/:id/tasks/reorder, POST /api/stories/:id/log,
POST /api/todos. Expands prisma mock to cover all required models.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 18:26:54 +02:00
..
next-story.test.ts test(scaffold): add skeleton test files for all 7 API endpoints 2026-04-25 18:24:25 +02:00
products.test.ts test(scaffold): add skeleton test files for all 7 API endpoints 2026-04-25 18:24:25 +02:00
reorder.test.ts test(scaffold): add skeleton test files for all 7 API endpoints 2026-04-25 18:24:25 +02:00
security.test.ts test(security): extend security.test.ts to cover all 7 API endpoints 2026-04-25 18:26:54 +02:00
sprint-tasks.test.ts test(scaffold): add skeleton test files for all 7 API endpoints 2026-04-25 18:24:25 +02:00
story-log.test.ts test(scaffold): add skeleton test files for all 7 API endpoints 2026-04-25 18:24:25 +02:00
tasks.test.ts test(scaffold): add skeleton test files for all 7 API endpoints 2026-04-25 18:24:25 +02:00
todos.test.ts test(scaffold): add skeleton test files for all 7 API endpoints 2026-04-25 18:24:25 +02:00