@codai/memorai
Version:
Universal Database & Storage Service for CODAI Ecosystem - CBD Backend
28 lines (26 loc) • 616 B
text/typescript
import { defineConfig } from 'vitest/config';
import path from 'path';
export default defineConfig({
test: {
globals: true,
environment: 'node',
setupFiles: ['./tests/setup.ts'],
include: ['tests/**/*.{test,spec}.{ts,js}'],
exclude: ['test-legacy/**/*', 'node_modules/**/*'],
coverage: {
reporter: ['text', 'json', 'html'],
exclude: [
'node_modules/',
'test-legacy/',
'tests/',
'**/*.d.ts',
'**/*.config.*'
]
}
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src')
}
}
});