refactor(ckeditor5-math): wrong expect import

This commit is contained in:
Elian Doran 2025-05-10 00:01:38 +03:00
parent da3c7d2541
commit 4fb333f15e
No known key found for this signature in database
4 changed files with 4 additions and 8 deletions

View File

@ -1,8 +1,7 @@
import Mathematics from '../src/math.js'; import Mathematics from '../src/math.js';
import AutoMath from '../src/automath.js'; import AutoMath from '../src/automath.js';
import { ClassicEditor, Clipboard, Paragraph, Undo, Typing, _getModelData as getData, _setModelData as setData } from 'ckeditor5'; import { ClassicEditor, Clipboard, Paragraph, Undo, Typing, _getModelData as getData, _setModelData as setData } from 'ckeditor5';
import { expect } from 'chai'; import { describe, beforeEach, it, afterEach, vi, expect } from "vitest";
import { describe, beforeEach, it, afterEach, vi, VitestUtils } from "vitest";
describe( 'AutoMath - integration', () => { describe( 'AutoMath - integration', () => {
let editorElement: HTMLDivElement, editor: ClassicEditor; let editorElement: HTMLDivElement, editor: ClassicEditor;

View File

@ -1,8 +1,7 @@
import { Math as MathDll, AutoformatMath as AutoformatMathDll } from '../src'; import { Math as MathDll, AutoformatMath as AutoformatMathDll } from '../src';
import Math from '../src/math'; import Math from '../src/math';
import AutoformatMath from '../src/autoformatmath'; import AutoformatMath from '../src/autoformatmath';
import { expect } from 'chai'; import { describe, it, expect } from 'vitest';
import { describe, it } from 'vitest';
describe( 'CKEditor5 Math DLL', () => { describe( 'CKEditor5 Math DLL', () => {
it( 'exports Math', () => { it( 'exports Math', () => {

View File

@ -1,7 +1,6 @@
import { ClassicEditor, type EditorConfig } from 'ckeditor5'; import { ClassicEditor, type EditorConfig } from 'ckeditor5';
import MathUI from '../src/mathui'; import MathUI from '../src/mathui';
import { expect } from 'chai'; import { describe, beforeEach, it, afterEach, expect } from "vitest";
import { describe, beforeEach, it, afterEach } from "vitest";
describe( 'Lazy load', () => { describe( 'Lazy load', () => {
let editorElement: HTMLDivElement; let editorElement: HTMLDivElement;

View File

@ -3,8 +3,7 @@ import Mathematics from '../src/math.js';
import MathEditing from '../src/mathediting.js'; import MathEditing from '../src/mathediting.js';
import MathUI from '../src/mathui.js'; import MathUI from '../src/mathui.js';
import AutoMath from '../src/automath.js'; import AutoMath from '../src/automath.js';
import { expect } from 'chai'; import { describe, beforeEach, it, afterEach, expect } from "vitest";
import { describe, beforeEach, it, afterEach } from "vitest";
describe( 'Math', () => { describe( 'Math', () => {
let editorElement: HTMLDivElement, editor: ClassicEditor; let editorElement: HTMLDivElement, editor: ClassicEditor;