Commit 847d5f9
committed
fix: bypass upstream test harness JSON parsing bug by setting CI=false
The upstream SDK test harness (replayingCapiProxy.ts) has a bug where
emitNoMatchingRequestWarning tries to JSON.parse an empty request body
when CI=true and no cached response is found. This causes all tests
to fail with 'Unexpected end of JSON input' errors.
Setting CI=false bypasses this code path while maintaining the
replaying proxy functionality for deterministic test execution.
This workaround can be removed once the upstream issue is fixed.1 parent 44e99cb commit 847d5f9
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
0 commit comments