mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
18 lines
451 B
TypeScript
18 lines
451 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
import { Math as MathDll, icons } from '../src/index.js';
|
|
import Math from '../src/math.js';
|
|
|
|
import ckeditor from './../theme/icons/ckeditor.svg';
|
|
|
|
describe( 'CKEditor5 Math DLL', () => {
|
|
it( 'exports Math', () => {
|
|
expect( MathDll ).to.equal( Math );
|
|
} );
|
|
|
|
describe( 'icons', () => {
|
|
it( 'exports the "ckeditor" icon', () => {
|
|
expect( icons.ckeditor ).to.equal( ckeditor );
|
|
} );
|
|
} );
|
|
} );
|