This repository was archived by the owner on May 15, 2026. It is now read-only.
Commit e0ed6d4
committed
test(api): add unit tests for FirmwareHandler
- Test constructor with various options configurations
- Test getModel with valid and unknown model IDs
- Test fetchModel API call with correct parameters
- Test createMessage streaming responses
- Test completePrompt non-streaming completion
- Test processUsageMetrics with and without cache data
- Test getFirmwareModels and getFirmwareQuota fetchers1 parent 833bb0c commit e0ed6d4
1 file changed
Lines changed: 531 additions & 0 deletions
0 commit comments