Parcourir la source

test(settings): fix model multi-select messages loader

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode)

Co-authored-by: Sisyphus <[email protected]>
Ding il y a 1 mois
Parent
commit
62e0c69055

+ 1 - 1
tests/unit/settings/providers/model-multi-select-custom-models-ui.test.tsx

@@ -66,7 +66,7 @@ describe("ModelMultiSelect: 自定义白名单模型应可在列表中取消选
   });
 
   test("已选中但不在 availableModels 的模型应出现在列表中,并可取消选中删除", async () => {
-    const messages = loadTestMessages("en");
+    const messages = loadMessages();
     const onChange = vi.fn();
 
     const { unmount } = render(