Commit 247f836
committed
Fix browser test: mock provider.listModels and provider.getUsage RPCs
The ChatView browser test mock WS handler didn't handle
provider.listModels and provider.getUsage RPCs for fork's extra
providers, causing React Query "data cannot be undefined" errors
that crashed the test environment.1 parent 42a47e6 commit 247f836
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
555 | 561 | | |
556 | 562 | | |
557 | 563 | | |
| |||
0 commit comments