mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-02-03 17:41:12 +08:00
- Move test utilities from src/__tests__/ to test_utils/ - Fix ModelResolver tests for simplified API (2 params instead of 4) - Fix generateImage/generateText tests with proper vi.fn() mocks - Fix ExtensionRegistry.parseProviderId to check variants before aliases - Add createProvider method overload for dynamic provider IDs - Update ProviderExtension tests for runtime validation behavior - Delete outdated tests: initialization.test.ts, extensions.integration.test.ts, executor-resolveModel.test.ts - Remove 3 skipped tests for removed validate hook - Add HubProvider.integration.test.ts - All 359 tests passing, 0 skipped 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
683 B
JSON
27 lines
683 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowSyntheticDefaultImports": true,
|
|
"declaration": true,
|
|
"emitDecoratorMetadata": true,
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"noEmitOnError": false,
|
|
"outDir": "./dist",
|
|
"resolveJsonModule": true,
|
|
"rootDir": ".",
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"target": "ES2020",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@test-utils": ["./test_utils"],
|
|
"@test-utils/*": ["./test_utils/*"]
|
|
}
|
|
},
|
|
"exclude": ["node_modules", "dist"],
|
|
"include": ["src/**/*", "test_utils/**/*"]
|
|
}
|