fix(ai-character): 관리자 권한 확인 중복 요청 방지

This commit is contained in:
Yu Sung
2026-08-03 13:08:12 +09:00
parent 8265fe4947
commit 344674c756
4 changed files with 49 additions and 42 deletions

View File

@@ -165,5 +165,5 @@ test("soft delete success re-enters the list route and fetches the list", async
await waitFor(() => expect(window.location.pathname).toBe("/ai-characters"));
expect(await screen.findByRole("status", { name: "작업 성공" })).toHaveTextContent("AI 캐릭터를 비활성화했습니다.");
expect(await screen.findByRole("heading", { name: "AI 캐릭터" })).toBeInTheDocument();
await waitFor(() => expect(listRequests).toBeGreaterThanOrEqual(3));
await waitFor(() => expect(listRequests).toBe(2));
});