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(tabs): reword the placement spec comment
matt wilkie8b07b00b5cfc
diff --git a/apps/client/src/components/tab_manager.spec.ts b/apps/client/src/components/tab_manager.spec.tsindex 7f7901251b..a9fb0f9b5d 100644--- a/apps/client/src/components/tab_manager.spec.ts+++ b/apps/client/src/components/tab_manager.spec.ts@@ -61,7 +61,7 @@ describe("TabManager tab placement", () => {const [a, b, c] = await openEmptyTabs(tm, 3);tm.activeNtxId = b.ntxId;- // openInNewTab() returns nothing, so a tab that is not "a", "b" or "c" reads as "new".+ // A tab that is not "a", "b" or "c" reads as "new".const known = [a.ntxId, b.ntxId, c.ntxId];const order = () => ntxOrder(tm).map((ntxId) => (known.includes(ntxId) ? ntxId : "new"));