13 lines
362 B
TypeScript
13 lines
362 B
TypeScript
|
|
import { defineConfig } from 'vitest/config';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
environment: 'jsdom',
|
||
|
|
globals: true,
|
||
|
|
include: ['test/**/*.test.ts'],
|
||
|
|
// The prod e2e suite has its own config (vitest.e2e-prod.config.ts) and hits a real API.
|
||
|
|
exclude: ['**/node_modules/**', '**/dist/**', 'test/e2e-prod/**'],
|
||
|
|
setupFiles: [],
|
||
|
|
},
|
||
|
|
});
|