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(collections): restore the tab manager after the open-all spec
Elian Doran1694304a149f
diff --git a/apps/client/src/widgets/note_bars/CollectionProperties.spec.tsx b/apps/client/src/widgets/note_bars/CollectionProperties.spec.tsxindex fea452cee6..dec44794cf 100644--- a/apps/client/src/widgets/note_bars/CollectionProperties.spec.tsx+++ b/apps/client/src/widgets/note_bars/CollectionProperties.spec.tsx@@ -72,6 +72,9 @@ describe("CollectionProperties", () => {});});+const originalTabManager = appContext.tabManager;+afterEach(() => {+ appContext.tabManager = originalTabManager;vi.restoreAllMocks();});