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