17 lines
340 B
TypeScript
17 lines
340 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import path from 'node:path'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['tests/unit/**/*.spec.ts'],
|
|
coverage: { reporter: ['text', 'json-summary'] }
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, 'src')
|
|
}
|
|
}
|
|
})
|