167171a682
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
14 lines
476 B
TypeScript
14 lines
476 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
// This package owns its vitest config on purpose. The ROOT config includes only
|
|
// `.ts` (never `.tsx`) and provisions a Postgres DB via globalSetup for every run —
|
|
// a pure-UI package must not drag a database along, and its tests are .tsx.
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'jsdom',
|
|
include: ['src/**/*.{test,spec}.{ts,tsx}'],
|
|
setupFiles: ['./src/test-setup.ts'],
|
|
globals: false,
|
|
},
|
|
});
|