fix: 修复测试套件质量审查问题——act环境、正则匹配、mock排序、超时设置
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user