21 lines
441 B
TypeScript
21 lines
441 B
TypeScript
import path from 'path'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, './src'),
|
|
'@authportal/shared': path.resolve(
|
|
__dirname,
|
|
'../../packages/shared/src/index.ts',
|
|
),
|
|
},
|
|
},
|
|
test: {
|
|
passWithNoTests: true,
|
|
environment: 'jsdom',
|
|
include: ['test/**/*.test.ts'],
|
|
setupFiles: ['test/setup.ts'],
|
|
},
|
|
})
|