fix: 修复测试套件质量审查问题——act环境、正则匹配、mock排序、超时设置

This commit is contained in:
2026-06-08 14:13:45 +08:00
parent 74266dc5cc
commit d02abce58d
11 changed files with 204 additions and 179 deletions

View File

@@ -41,7 +41,7 @@ describe("ModelSettingsCard", () => {
expect(screen.getByText("音频生成")).not.toBeNull();
expect(screen.getByText("视频生成")).not.toBeNull();
});
});
}, 30000);
test("回显已保存的默认模型值", async () => {
installFetchMock((call) => {
@@ -63,5 +63,5 @@ describe("ModelSettingsCard", () => {
expect(screen.getByText("GPT-4")).not.toBeNull();
expect(screen.getByText("Claude Vision")).not.toBeNull();
});
});
}, 30000);
});