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

@@ -96,7 +96,7 @@ describe("InboxPage", () => {
const cards = screen.getAllByText("新增的素材");
expect(cards.length).toBeGreaterThanOrEqual(1);
});
});
}, 30000);
test("删除素材后列表更新", async () => {
let deleted = false;
@@ -131,5 +131,5 @@ describe("InboxPage", () => {
await waitFor(() => {
expect(screen.getByText("暂无素材")).not.toBeNull();
});
});
}, 30000);
});