19 lines
358 B
TypeScript
19 lines
358 B
TypeScript
import path from 'node:path'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
},
|
|
},
|
|
esbuild: {
|
|
jsx: 'automatic',
|
|
},
|
|
test: {
|
|
globals: false,
|
|
environment: 'node',
|
|
include: ['tests/**/*.test.{ts,tsx}'],
|
|
testTimeout: 10000,
|
|
},
|
|
})
|