Files
brachnha-insight/vitest.config.ts
Max 3fbbb1a93b Initial commit: Brachnha Insight project setup
- Next.js 14+ with App Router and TypeScript
- Tailwind CSS and ShadCN UI styling
- Zustand state management
- Dexie.js for IndexedDB (local-first data)
- Auth.js v5 for authentication
- BMAD framework integration

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-26 12:28:43 +07:00

24 lines
631 B
TypeScript

import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
import path from 'path'
export default defineConfig({
plugins: [react()],
test: {
environment: 'jsdom',
exclude: ['node_modules', 'tests/e2e/**', 'tests/integration/**', 'dist'], // Exclude e2e and integration tests from vitest
alias: {
'@': path.resolve(__dirname, './src'),
},
setupFiles: ['./vitest.setup.ts'],
coverage: {
provider: 'v8',
},
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
})