~bigbes/lethe

ref: f903c872196ad6f6bf020e59637993f119438d7f lethe/web/vitest.config.ts -rw-r--r-- 357 bytes
f903c872 — Eugene Blikh web: scaffold vite/react/ts project, port design tokens and primitives a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'

// Separate vitest config that omits the TanStack Router plugin
// (routes directory doesn't exist until Phase 4)
export default defineConfig({
  plugins: [react()],
  test: {
    environment: 'jsdom',
    setupFiles: ['./src/test-setup.ts'],
    globals: true,
  },
})