mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			499 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			499 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { describe, expect, it } from 'vitest';
 | |
| import { Admonition as AdmonitionDll, icons } from '../src/index.js';
 | |
| import Admonition from '../src/admonition.js';
 | |
| 
 | |
| import ckeditor from './../theme/icons/ckeditor.svg';
 | |
| 
 | |
| describe( 'CKEditor5 Admonition DLL', () => {
 | |
| 	it( 'exports Admonition', () => {
 | |
| 		expect( AdmonitionDll ).to.equal( Admonition );
 | |
| 	} );
 | |
| 
 | |
| 	describe( 'icons', () => {
 | |
| 		it( 'exports the "ckeditor" icon', () => {
 | |
| 			expect( icons.ckeditor ).to.equal( ckeditor );
 | |
| 		} );
 | |
| 	} );
 | |
| } );
 | 
