16 lines
389 B
TypeScript
16 lines
389 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import { fileURLToPath, URL } from 'node:url';
|
|
import vue from '@vitejs/plugin-vue';
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) },
|
|
},
|
|
test: {
|
|
environment: 'happy-dom',
|
|
globals: false,
|
|
coverage: { include: ['src/**/*.{ts,vue}'] },
|
|
},
|
|
});
|