mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	refactor(ckeditor5-math): wrong expect import
This commit is contained in:
		
							parent
							
								
									da3c7d2541
								
							
						
					
					
						commit
						4fb333f15e
					
				| @ -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; | ||||
|  | ||||
| @ -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', () => { | ||||
|  | ||||
| @ -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; | ||||
|  | ||||
| @ -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; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran