Skip to content

Build your personal knowledge base with Trilium Notes

test(ckeditor5-mermaid): fix errors due to missing license key

Elian Doranef3d6ebf2970
diff --git a/packages/ckeditor5-mermaid/tests/commands/insertMermaidCommand.ts b/packages/ckeditor5-mermaid/tests/commands/insertMermaidCommand.ts
index 7f7e5e7416..f10eedf26e 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 ff47dd9366..6561f44422 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 6836b6eec3..30b1de625b 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 c9d280e38c..578a71173f 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 88638d0334..5f53e4d388 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 29384ee5f5..926c2d291e 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 fe0eb58ccc..ba19f06851 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 d5fc8bf1b7..3eaac8588f 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
]