saap-plattform / frontend /vitest.config.js
Hwandji's picture
feat: initial HuggingFace Space deployment
4343907
raw
history blame
626 Bytes
import { defineConfig } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
import path from 'path'
export default defineConfig({
plugins: [vue()],
test: {
globals: true,
environment: 'jsdom',
setupFiles: ['./tests/setup.js'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
exclude: [
'node_modules/',
'tests/',
'*.config.js',
'dist/'
]
},
include: ['tests/**/*.test.js'],
root: './'
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
'~': path.resolve(__dirname, './')
}
}
})