Files
lupin-demo/vitest.config.ts
2026-01-21 13:22:26 +08:00

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',
],
},
},
});