mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
test(ckeditor5-mermaid): fix errors due to missing license key
This commit is contained in:
parent
abc8e2279c
commit
ef3d6ebf29
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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' ]
|
||||||
|
@ -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
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user