Repository navigation
Commit 7d612f6
Zoo (VP)
test(mimo): cover no-Authorization fetch and filtered MiMo router request
What: add a fetcher test asserting getMimoModels omits the Authorization
header when no apiKey is provided, and a webviewMessageHandler test for a
single-provider requestRouterModels call (values.provider: mimo) with
stored credentials, asserting only MiMo is fetched and the filtered
routerModels response carries the mimo entry.
Why: CodeRabbit pre-merge Regression Evidence check flagged both gaps;
the production useRouterModels path for a selected MiMo provider issues
the filtered request, and the optional apiKey branch had no negative test.
Impact: no behavior change, coverage only. eslint suppression counts
unchanged (no new any).1 parent d7a6bc9 commit 7d612f6
2 files changed
Lines changed: 53 additions & 0 deletions
File tree
- src
- api/providers/fetchers/__tests__
- core/webview/__tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
135 | 148 | | |
136 | 149 | | |
137 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
639 | 679 | | |
640 | 680 | | |
641 | 681 | | |
| |||
0 commit comments