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
Updated failing tests.
Mateusz Zagórski41e59b2a1393
diff --git a/tests/mermaidtoolbar.js b/tests/mermaidtoolbar.jsindex c23172a0fe..237c8dc63b 100644--- a/tests/mermaidtoolbar.js+++ b/tests/mermaidtoolbar.js@@ -42,7 +42,7 @@ describe( 'MermaidToolbar', () => {expect( toolbar.items.get( 0 ).label ).to.equal( 'Source view' );expect( toolbar.items.get( 1 ).label ).to.equal( 'Split view' );expect( toolbar.items.get( 2 ).label ).to.equal( 'Preview' );- expect( toolbar.items.get( 4 ).label ).to.equal( 'Mermaid info' );+ expect( toolbar.items.get( 4 ).label ).to.equal( 'Read more about Mermaid diagram syntax' );} );} );diff --git a/tests/mermaidui.js b/tests/mermaidui.jsindex 5dcd4f1d0e..5b30778535 100644--- a/tests/mermaidui.js+++ b/tests/mermaidui.js@@ -36,7 +36,7 @@ describe( 'MermaidUI', () => {it( 'has the base properties', () => {const button = editor.ui.componentFactory.create( 'mermaid' );- expect( button ).to.have.property( 'label', 'Insert Mermaid' );+ expect( button ).to.have.property( 'label', 'Insert Mermaid diagram' );expect( button ).to.have.property( 'icon' );expect( button ).to.have.property( 'tooltip', true );} );