mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-23 12:11:55 +08:00
* test: add comprehensive tests for ApiClientFactory - Test all special ID client mappings (aihubmix, new-api, ppio) - Test all standard provider type mappings - Test edge cases and default behavior - Test isOpenAIProvider utility function - Achieve full coverage of factory logic * test: fix ApiClientFactory test for OpenAIResponseAPIClient changes - Add getClient mock method to OpenAIResponseAPIClient mock - Fix provider id from 'azure' to 'azure-openai' to match actual configuration - Ensure tests properly reflect the new OpenAIResponseAPIClient implementation * test: refactor ApiClientFactory tests and move isOpenAIProvider to utils - Simplify test data creation with createTestProvider helper - Move isOpenAIProvider to utils and fix vertexai handling - Update related imports |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| renderer | ||