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

This commit is contained in:
Elian Doran 2025-05-10 02:25:11 +03:00
parent abc8e2279c
commit ef3d6ebf29
No known key found for this signature in database
8 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,7 @@ describe( 'InsertMermaidCommand', () => {
document.body.appendChild( domElement ); document.body.appendChild( domElement );
editor = await ClassicEditor.create( domElement, { editor = await ClassicEditor.create( domElement, {
licenseKey: "GPL",
plugins: [ plugins: [
MermaidEditing, MermaidEditing,
Paragraph Paragraph

View File

@ -15,6 +15,7 @@ describe( 'MermaidPreviewCommand', () => {
document.body.appendChild( domElement ); document.body.appendChild( domElement );
editor = await ClassicEditor.create( domElement, { editor = await ClassicEditor.create( domElement, {
licenseKey: "GPL",
plugins: [ plugins: [
MermaidEditing, MermaidEditing,
Paragraph Paragraph

View File

@ -15,6 +15,7 @@ describe( 'MermaidSourceViewCommand', () => {
document.body.appendChild( domElement ); document.body.appendChild( domElement );
editor = await ClassicEditor.create( domElement, { editor = await ClassicEditor.create( domElement, {
licenseKey: "GPL",
plugins: [ plugins: [
MermaidEditing, MermaidEditing,
Paragraph Paragraph

View File

@ -15,6 +15,7 @@ describe( 'MermaidSplitViewCommand', () => {
document.body.appendChild( domElement ); document.body.appendChild( domElement );
editor = await ClassicEditor.create( domElement, { editor = await ClassicEditor.create( domElement, {
licenseKey: "GPL",
plugins: [ plugins: [
MermaidEditing, MermaidEditing,
Paragraph Paragraph

View File

@ -19,6 +19,7 @@ describe( 'Mermaid', () => {
document.body.appendChild( domElement ); document.body.appendChild( domElement );
editor = await ClassicEditor.create( domElement, { editor = await ClassicEditor.create( domElement, {
licenseKey: "GPL",
plugins: [ plugins: [
Paragraph, Paragraph,
Heading, Heading,

View File

@ -19,6 +19,7 @@ describe( 'MermaidEditing', () => {
document.body.appendChild( domElement ); document.body.appendChild( domElement );
editor = await ClassicEditor.create( domElement, { editor = await ClassicEditor.create( domElement, {
licenseKey: "GPL",
plugins: [ plugins: [
Paragraph, Paragraph,
Heading, Heading,

View File

@ -14,6 +14,7 @@ describe( 'MermaidToolbar', () => {
document.body.appendChild( domElement ); document.body.appendChild( domElement );
return ClassicTestEditor.create( domElement, { return ClassicTestEditor.create( domElement, {
licenseKey: "GPL",
plugins: [ Essentials, Paragraph, Mermaid ], plugins: [ Essentials, Paragraph, Mermaid ],
mermaid: { mermaid: {
toolbar: [ 'fake_button' ] toolbar: [ 'fake_button' ]

View File

@ -20,6 +20,7 @@ describe( 'MermaidUI', () => {
document.body.appendChild( domElement ); document.body.appendChild( domElement );
editor = await ClassicEditor.create( domElement, { editor = await ClassicEditor.create( domElement, {
licenseKey: "GPL",
plugins: [ plugins: [
Mermaid Mermaid
] ]