From 41e59b2a1393e25c633baa5d9c67bee77c447f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Zag=C3=B3rski?= Date: Tue, 8 Mar 2022 12:04:13 +0100 Subject: [PATCH] Updated failing tests. --- tests/mermaidtoolbar.js | 2 +- tests/mermaidui.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mermaidtoolbar.js b/tests/mermaidtoolbar.js index c23172a0f..237c8dc63 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.js index 5dcd4f1d0..5b3077853 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 ); } );