Skip to content

Build your personal knowledge base with Trilium Notes

test(client): wrap FormTextArea afterEach cleanup in act()

hippi34556861e690e48
diff --git a/apps/client/src/widgets/react/FormTextArea.spec.tsx b/apps/client/src/widgets/react/FormTextArea.spec.tsx
index 4eabefde18..3de176d019 100644
--- a/apps/client/src/widgets/react/FormTextArea.spec.tsx
+++ b/apps/client/src/widgets/react/FormTextArea.spec.tsx
@@ -13,7 +13,7 @@ describe("FormTextArea", () => {
});
afterEach(() => {
- render(null, container);
+ act(() => render(null, container));
container.remove();
});