Files
cutroom/vitest.config.ts
Chora 2e99e60d0c feat: add testing infrastructure and webhook handler
- Vitest setup with React Testing Library
- Initial pipeline manager tests
- Openwork webhook endpoint for team events
- ESLint configuration
- Updated package.json with test dependencies
2026-02-01 20:09:16 -06:00

30 lines
635 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',
globals: true,
setupFiles: ['./src/test/setup.ts'],
include: ['src/**/*.{test,spec}.{js,ts,jsx,tsx}'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
exclude: [
'node_modules/',
'src/test/',
'**/*.d.ts',
'**/*.config.*',
'**/layout.tsx',
],
},
},
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
})