Skip to content

Build your personal knowledge base with Trilium Notes

refactor(ckeditor5-math): wrong expect import

Elian Doran4fb333f15e67
diff --git a/packages/ckeditor5-math/tests/automath.ts b/packages/ckeditor5-math/tests/automath.ts
index c4252bbf15..ff9675c993 100644
--- a/packages/ckeditor5-math/tests/automath.ts
+++ b/packages/ckeditor5-math/tests/automath.ts
@@ -1,8 +1,7 @@
import Mathematics from '../src/math.js';
import AutoMath from '../src/automath.js';
import { ClassicEditor, Clipboard, Paragraph, Undo, Typing, _getModelData as getData, _setModelData as setData } from 'ckeditor5';
-import { expect } from 'chai';
-import { describe, beforeEach, it, afterEach, vi, VitestUtils } from "vitest";
+import { describe, beforeEach, it, afterEach, vi, expect } from "vitest";
describe( 'AutoMath - integration', () => {
let editorElement: HTMLDivElement, editor: ClassicEditor;
diff --git a/packages/ckeditor5-math/tests/index.ts b/packages/ckeditor5-math/tests/index.ts
index 87a086ac02..4493420e1d 100644
--- a/packages/ckeditor5-math/tests/index.ts
+++ b/packages/ckeditor5-math/tests/index.ts
@@ -1,8 +1,7 @@
import { Math as MathDll, AutoformatMath as AutoformatMathDll } from '../src';
import Math from '../src/math';
import AutoformatMath from '../src/autoformatmath';
-import { expect } from 'chai';
-import { describe, it } from 'vitest';
+import { describe, it, expect } from 'vitest';
describe( 'CKEditor5 Math DLL', () => {
it( 'exports Math', () => {
diff --git a/packages/ckeditor5-math/tests/lazyload.ts b/packages/ckeditor5-math/tests/lazyload.ts
index 35ab1f3e8f..1265078502 100644
--- a/packages/ckeditor5-math/tests/lazyload.ts
+++ b/packages/ckeditor5-math/tests/lazyload.ts
@@ -1,7 +1,6 @@
import { ClassicEditor, type EditorConfig } from 'ckeditor5';
import MathUI from '../src/mathui';
-import { expect } from 'chai';
-import { describe, beforeEach, it, afterEach } from "vitest";
+import { describe, beforeEach, it, afterEach, expect } from "vitest";
describe( 'Lazy load', () => {
let editorElement: HTMLDivElement;
diff --git a/packages/ckeditor5-math/tests/math.ts b/packages/ckeditor5-math/tests/math.ts
index ecdc85b20c..48d0ca64d2 100644
--- a/packages/ckeditor5-math/tests/math.ts
+++ b/packages/ckeditor5-math/tests/math.ts
@@ -3,8 +3,7 @@ import Mathematics from '../src/math.js';
import MathEditing from '../src/mathediting.js';
import MathUI from '../src/mathui.js';
import AutoMath from '../src/automath.js';
-import { expect } from 'chai';
-import { describe, beforeEach, it, afterEach } from "vitest";
+import { describe, beforeEach, it, afterEach, expect } from "vitest";
describe( 'Math', () => {
let editorElement: HTMLDivElement, editor: ClassicEditor;