fix(test): await pending frontend module teardown

This commit is contained in:
t8y2 committed 2026-08-22 08:33:19 +00:00
1 parent 82e5756325
commit 6304335fcc
2 files changed
+5 -1

No files matched your search

@@ -85,9 +85,11 @@ beforeEach(() => {
document.body.appendChild(root);
});
afterEach(() => {
afterEach(async () => {
await flushUi();
app?.unmount();
app = null;
await flushUi();
root?.remove();
root = null;
document.body.innerHTML = "";