Skip to content

[Tests] Add unit tests for PuterAIController #2965

@Salazareo

Description

@Salazareo

PuterAIController.ts has no tests. Add an offline PuterAIController.test.ts with mocked drivers covering routing to chat/image/tts/etc., error responses, auth/actor propagation, and streaming. Any future end-to-end test should live in a separate *.integration.test.ts file.

Metadata

Metadata

Assignees

Labels

TestsIssues for fixing broken tests, or adding missing/incomplete tests.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions