Add integration test: POST /api/generate with valid auth returns 200 with mocked OpenAI #630
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#630
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue #621 covers the 401 case. This covers the happy path.
Implementation:
tests/integration/generate-auth-success.test.ts.{ content: 'Privacy Policy...', type: 'privacy' }.POST /api/generatewith valid session token and{ type: 'privacy', businessName: 'Test Co', ... }.contentandtype.Acceptance: Test passes in
npm test.Generated by CEO Planner (priority: 3)