Skip to content

Build your personal knowledge base with Trilium Notes

test(ckeditor5-math): license key not found

Elian Doranc9834e58bb6d
diff --git a/packages/ckeditor5-math/tests/automath.ts b/packages/ckeditor5-math/tests/automath.ts
index a45e9fc181..c2c92a089f 100644
--- a/packages/ckeditor5-math/tests/automath.ts
+++ b/packages/ckeditor5-math/tests/automath.ts
@@ -15,6 +15,7 @@ describe( 'AutoMath - integration', () => {
return ClassicEditor
.create( editorElement, {
plugins: [ Mathematics, AutoMath, Typing, Paragraph ],
+ licenseKey: "GPL",
math: {
engine: ( equation, element, display ) => {
if ( display ) {
diff --git a/packages/ckeditor5-math/tests/lazyload.ts b/packages/ckeditor5-math/tests/lazyload.ts
index 5c0f6c50c6..35ab1f3e8f 100644
--- a/packages/ckeditor5-math/tests/lazyload.ts
+++ b/packages/ckeditor5-math/tests/lazyload.ts
@@ -13,6 +13,7 @@ describe( 'Lazy load', () => {
return ClassicEditor
.create( editorElement, {
...config,
+ licenseKey: "GPL",
plugins: [ MathUI ]
} )
.then( newEditor => {
diff --git a/packages/ckeditor5-math/tests/math.ts b/packages/ckeditor5-math/tests/math.ts
index da45a0617f..ecdc85b20c 100644
--- a/packages/ckeditor5-math/tests/math.ts
+++ b/packages/ckeditor5-math/tests/math.ts
@@ -15,7 +15,8 @@ describe( 'Math', () => {
return ClassicEditor
.create( editorElement, {
- plugins: [ Mathematics ]
+ plugins: [ Mathematics ],
+ licenseKey: "GPL"
} )
.then( newEditor => {
editor = newEditor;
diff --git a/packages/ckeditor5-math/tests/mathui.ts b/packages/ckeditor5-math/tests/mathui.ts
index 7b5d65f7b7..d3daf1b192 100644
--- a/packages/ckeditor5-math/tests/mathui.ts
+++ b/packages/ckeditor5-math/tests/mathui.ts
@@ -33,8 +33,9 @@ describe( 'MathUI', () => {
} else {
element.innerHTML = '\\(' + equation + '\\)';
}
- }
- }
+ },
+ },
+ licenseKey: "GPL"
} )
.then( newEditor => {
editor = newEditor;