Commit eb22a6b
committed
fix(tests): type controller-ready reachability mock
Proof of fix:
- Cause: the new controller drift regression mocked findReachableApiBaseUrl as success-only, but the test intentionally returns typed ControllerBootstrapError failures.
- Solution: widen the mock signature to Effect<string, ControllerBootstrapError>.
- Evidence: bun run typecheck and vitest controller-ready both pass locally.1 parent 3172b61 commit eb22a6b
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
24 | 35 | | |
25 | 36 | | |
26 | 37 | | |
| |||
0 commit comments