mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-06-13 12:52:41 +01:00
20 lines
569 B
TypeScript
20 lines
569 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import vue from '@vitejs/plugin-vue';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
export default defineConfig({
|
|
plugins: [vue()],
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./resources/js', import.meta.url)),
|
|
},
|
|
},
|
|
test: {
|
|
environment: 'happy-dom',
|
|
globals: false,
|
|
setupFiles: ['./resources/js/test-setup.ts'],
|
|
include: ['resources/js/**/*.{test,spec}.{ts,tsx}'],
|
|
exclude: ['**/node_modules/**', '**/e2e/**', '**/dist/**'],
|
|
},
|
|
});
|