mirror of
				https://github.com/monkeytypegame/monkeytype.git
				synced 2025-10-31 03:08:29 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			378 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			378 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { defineConfig } from "vitest/config";
 | |
| 
 | |
| export default defineConfig({
 | |
|   test: {
 | |
|     globals: true,
 | |
|     environment: "node",
 | |
|     globalSetup: "__tests__/global-setup.ts",
 | |
|     setupFiles: ["__tests__/setup-tests.ts"],
 | |
|     pool: "forks", //this should be the default value, however the CI fails without this set.
 | |
| 
 | |
|     coverage: {
 | |
|       include: ["**/*.ts"],
 | |
|     },
 | |
|   },
 | |
| });
 |