Commit 9577886
committed
refactor: replace integration tests with unit tests using mocked callProvider
Consolidate 24 per-provider integration test files into parameterized
unit tests that mock callProvider, eliminating all production API
dependencies. Tests run instantly with deterministic results.
TypeScript: 131 tests across 10 files (was 27 files)
Python: 86 tests across 7 files (was 12 files)
Made-with: Cursor1 parent bf4a6ed commit 9577886
File tree
36 files changed
+1632
-4384
lines changed- sdk
- python/tests
- typescript/tests
- anthropic
- bedrock
- fireworks
- google
- groq
- openai-compatible
- openai
- openrouter
- superagent
- vercel
36 files changed
+1632
-4384
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 5 | | |
9 | | - | |
10 | 6 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 7 | + | |
14 | 8 | | |
15 | 9 | | |
16 | 10 | | |
17 | 11 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 12 | + | |
| 13 | + | |
This file was deleted.
This file was deleted.
0 commit comments