18 lines
332 B
TypeScript
18 lines
332 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import path from 'path'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
test: {
|
|
environment: 'jsdom',
|
|
globals: true,
|
|
root: '.',
|
|
passWithNoTests: true,
|
|
exclude: ['e2e/**', 'node_modules/**'],
|
|
},
|
|
})
|