22 lines
431 B
TypeScript
22 lines
431 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import vue from '@vitejs/plugin-vue';
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
test: {
|
|
environment: 'happy-dom',
|
|
globals: true,
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'json', 'html'],
|
|
exclude: [
|
|
'node_modules/',
|
|
'dist/',
|
|
'**/*.test.ts',
|
|
'**/*.config.ts',
|
|
'**/types.ts',
|
|
],
|
|
},
|
|
},
|
|
});
|