mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-29 02:28:57 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			691 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			691 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /**
 | |
|  * @license Copyright (c) 2023-2024, CKSource Holding sp. z o.o. All rights reserved.
 | |
|  * For licensing, see LICENSE.md.
 | |
|  */
 | |
| 
 | |
| import { defineConfig } from 'vitest/config';
 | |
| import svg from 'vite-plugin-svgo';
 | |
| 
 | |
| export default defineConfig( {
 | |
| 	plugins: [
 | |
| 		svg()
 | |
| 	],
 | |
| 	test: {
 | |
| 		browser: {
 | |
| 			enabled: true,
 | |
| 			name: 'chrome',
 | |
| 			provider: 'webdriverio',
 | |
| 			providerOptions: {},
 | |
| 			headless: true,
 | |
| 			ui: false
 | |
| 		},
 | |
| 		include: [
 | |
| 			'tests/**/*.[jt]s'
 | |
| 		],
 | |
| 		globals: true,
 | |
| 		watch: false,
 | |
| 		passWithNoTests: true,
 | |
| 		coverage: {
 | |
| 			thresholds: {
 | |
| 				lines: 100,
 | |
| 				functions: 100,
 | |
| 				branches: 100,
 | |
| 				statements: 100
 | |
| 			},
 | |
| 			provider: 'istanbul',
 | |
| 			include: [
 | |
| 				'src'
 | |
| 			]
 | |
| 		}
 | |
| 	}
 | |
| } );
 | 
