| 
									
										
										
										
											2023-02-03 04:48:32 +01:00
										 |  |  | import { defineConfig } from "vitest/config" | 
					
						
							| 
									
										
										
										
											2023-02-10 14:28:00 +01:00
										 |  |  | import { svelte } from "@sveltejs/vite-plugin-svelte" | 
					
						
							|  |  |  | import autoPreprocess from "svelte-preprocess" | 
					
						
							| 
									
										
										
										
											2023-02-03 04:48:32 +01:00
										 |  |  | export default defineConfig({ | 
					
						
							| 
									
										
										
										
											2023-02-10 14:28:00 +01:00
										 |  |  |     plugins: [svelte({ hot: !process.env.VITEST, preprocess: [autoPreprocess()] })], | 
					
						
							| 
									
										
										
										
											2023-02-03 04:48:32 +01:00
										 |  |  |     test: { | 
					
						
							|  |  |  |         globals: true, | 
					
						
							|  |  |  |         setupFiles: ["./test/testhooks.ts"], | 
					
						
							| 
									
										
										
										
											2023-05-16 01:34:17 +02:00
										 |  |  |         include: ["./test/*.spec.ts","./test/**/*.spec.ts", "./*.doctest.ts", "./**/*.doctest.ts"], | 
					
						
							| 
									
										
										
										
											2023-02-03 04:48:32 +01:00
										 |  |  |     }, | 
					
						
							|  |  |  | }) |