Commit cfc50fb
committed
test(gui): route model-discovery stubs through the pinned transport
The same #697 transport change that broke the root catalog tests also
breaks four cases in gui/tests/models-empty-provider.test.tsx: they stub
`globalThis.fetch`, discovery no longer reads it, and the calls hang on
real DNS until the 5s test timeout.
Reuse the `withStubbedProviderFetch` helper so these configs carry the
caller-owned executor too. Test wiring only.
This one hid from the root suite: `bun run test` covers `tests/`, while
CI runs `cd gui && bun test tests` as a separate step, so the failure
only appeared on the runner.1 parent 693347d commit cfc50fb
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
23 | 32 | | |
24 | 33 | | |
25 | 34 | | |
| |||
0 commit comments