Initial commit
This commit is contained in:
15
vitest.config.ts
Normal file
15
vitest.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit()],
|
||||
test: {
|
||||
include: ['src/**/*.{test,spec}.{js,ts}'],
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'json', 'html'],
|
||||
include: ['src/**/*.{js,ts}'],
|
||||
exclude: ['src/**/*.d.ts', 'src/**/*.test.*', 'src/**/*.spec.*'],
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user