From ef3d6ebf29708951928d15cd4be57ea9345cdd99 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 10 May 2025 02:25:11 +0300 Subject: [PATCH] test(ckeditor5-mermaid): fix errors due to missing license key --- .../ckeditor5-mermaid/tests/commands/insertMermaidCommand.ts | 1 + .../ckeditor5-mermaid/tests/commands/mermaidPreviewCommand.ts | 1 + .../ckeditor5-mermaid/tests/commands/mermaidSourceViewCommand.ts | 1 + .../ckeditor5-mermaid/tests/commands/mermaidSplitViewCommand.ts | 1 + packages/ckeditor5-mermaid/tests/mermaid.ts | 1 + packages/ckeditor5-mermaid/tests/mermaidediting.ts | 1 + packages/ckeditor5-mermaid/tests/mermaidtoolbar.ts | 1 + packages/ckeditor5-mermaid/tests/mermaidui.ts | 1 + 8 files changed, 8 insertions(+) diff --git a/packages/ckeditor5-mermaid/tests/commands/insertMermaidCommand.ts b/packages/ckeditor5-mermaid/tests/commands/insertMermaidCommand.ts index 7f7e5e741..f10eedf26 100644 --- a/packages/ckeditor5-mermaid/tests/commands/insertMermaidCommand.ts +++ b/packages/ckeditor5-mermaid/tests/commands/insertMermaidCommand.ts @@ -14,6 +14,7 @@ describe( 'InsertMermaidCommand', () => { document.body.appendChild( domElement ); editor = await ClassicEditor.create( domElement, { + licenseKey: "GPL", plugins: [ MermaidEditing, Paragraph diff --git a/packages/ckeditor5-mermaid/tests/commands/mermaidPreviewCommand.ts b/packages/ckeditor5-mermaid/tests/commands/mermaidPreviewCommand.ts index ff47dd936..6561f4442 100644 --- a/packages/ckeditor5-mermaid/tests/commands/mermaidPreviewCommand.ts +++ b/packages/ckeditor5-mermaid/tests/commands/mermaidPreviewCommand.ts @@ -15,6 +15,7 @@ describe( 'MermaidPreviewCommand', () => { document.body.appendChild( domElement ); editor = await ClassicEditor.create( domElement, { + licenseKey: "GPL", plugins: [ MermaidEditing, Paragraph diff --git a/packages/ckeditor5-mermaid/tests/commands/mermaidSourceViewCommand.ts b/packages/ckeditor5-mermaid/tests/commands/mermaidSourceViewCommand.ts index 6836b6eec..30b1de625 100644 --- a/packages/ckeditor5-mermaid/tests/commands/mermaidSourceViewCommand.ts +++ b/packages/ckeditor5-mermaid/tests/commands/mermaidSourceViewCommand.ts @@ -15,6 +15,7 @@ describe( 'MermaidSourceViewCommand', () => { document.body.appendChild( domElement ); editor = await ClassicEditor.create( domElement, { + licenseKey: "GPL", plugins: [ MermaidEditing, Paragraph diff --git a/packages/ckeditor5-mermaid/tests/commands/mermaidSplitViewCommand.ts b/packages/ckeditor5-mermaid/tests/commands/mermaidSplitViewCommand.ts index c9d280e38..578a71173 100644 --- a/packages/ckeditor5-mermaid/tests/commands/mermaidSplitViewCommand.ts +++ b/packages/ckeditor5-mermaid/tests/commands/mermaidSplitViewCommand.ts @@ -15,6 +15,7 @@ describe( 'MermaidSplitViewCommand', () => { document.body.appendChild( domElement ); editor = await ClassicEditor.create( domElement, { + licenseKey: "GPL", plugins: [ MermaidEditing, Paragraph diff --git a/packages/ckeditor5-mermaid/tests/mermaid.ts b/packages/ckeditor5-mermaid/tests/mermaid.ts index 88638d033..5f53e4d38 100644 --- a/packages/ckeditor5-mermaid/tests/mermaid.ts +++ b/packages/ckeditor5-mermaid/tests/mermaid.ts @@ -19,6 +19,7 @@ describe( 'Mermaid', () => { document.body.appendChild( domElement ); editor = await ClassicEditor.create( domElement, { + licenseKey: "GPL", plugins: [ Paragraph, Heading, diff --git a/packages/ckeditor5-mermaid/tests/mermaidediting.ts b/packages/ckeditor5-mermaid/tests/mermaidediting.ts index 29384ee5f..926c2d291 100644 --- a/packages/ckeditor5-mermaid/tests/mermaidediting.ts +++ b/packages/ckeditor5-mermaid/tests/mermaidediting.ts @@ -19,6 +19,7 @@ describe( 'MermaidEditing', () => { document.body.appendChild( domElement ); editor = await ClassicEditor.create( domElement, { + licenseKey: "GPL", plugins: [ Paragraph, Heading, diff --git a/packages/ckeditor5-mermaid/tests/mermaidtoolbar.ts b/packages/ckeditor5-mermaid/tests/mermaidtoolbar.ts index fe0eb58cc..ba19f0685 100644 --- a/packages/ckeditor5-mermaid/tests/mermaidtoolbar.ts +++ b/packages/ckeditor5-mermaid/tests/mermaidtoolbar.ts @@ -14,6 +14,7 @@ describe( 'MermaidToolbar', () => { document.body.appendChild( domElement ); return ClassicTestEditor.create( domElement, { + licenseKey: "GPL", plugins: [ Essentials, Paragraph, Mermaid ], mermaid: { toolbar: [ 'fake_button' ] diff --git a/packages/ckeditor5-mermaid/tests/mermaidui.ts b/packages/ckeditor5-mermaid/tests/mermaidui.ts index d5fc8bf1b..3eaac8588 100644 --- a/packages/ckeditor5-mermaid/tests/mermaidui.ts +++ b/packages/ckeditor5-mermaid/tests/mermaidui.ts @@ -20,6 +20,7 @@ describe( 'MermaidUI', () => { document.body.appendChild( domElement ); editor = await ClassicEditor.create( domElement, { + licenseKey: "GPL", plugins: [ Mermaid ]