16 lines
377 B
TypeScript
16 lines
377 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import { fileURLToPath, URL } from 'node:url'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@': fileURLToPath(new URL('./src', import.meta.url)),
|
|
'@shared': fileURLToPath(new URL('./shared', import.meta.url)),
|
|
},
|
|
},
|
|
test: {
|
|
environment: 'node',
|
|
include: ['tests/**/*.test.{ts,mjs}'],
|
|
},
|
|
})
|