Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
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.tsxindex 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();});