test: use forceCloseAllModals instead of closeCurrentModal (#30211)

This commit is contained in:
Florian Duros
2025-06-26 08:02:42 +00:00
committed by GitHub
parent 6ce149a7a8
commit 18ac6b92fa
3 changed files with 8 additions and 32 deletions
@@ -45,9 +45,9 @@ describe("AddRemoveThreepids", () => {
client = stubClient();
});
afterEach(() => {
afterEach(async () => {
jest.restoreAllMocks();
clearAllModals();
await clearAllModals();
cleanup();
});