mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			415 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			415 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import { AppElement } from './app.element';
 | |
| 
 | |
| describe('AppElement', () => {
 | |
|   let app: AppElement;
 | |
| 
 | |
|   beforeEach(() => {
 | |
|     app = new AppElement();
 | |
|   });
 | |
| 
 | |
|   it('should create successfully', () => {
 | |
|     expect(app).toBeTruthy();
 | |
|   });
 | |
| 
 | |
|   it('should have a greeting', () => {
 | |
|     app.connectedCallback();
 | |
| 
 | |
|     expect(app.querySelector('h1').innerHTML).toContain(
 | |
|       'Welcome @triliumnext/client'
 | |
|     );
 | |
|   });
 | |
| });
 | 
