stack/apps/e2e/vitest.config.ts
2024-10-11 17:09:24 -07:00

16 lines
363 B
TypeScript

import react from '@vitejs/plugin-react'
import { defineConfig } from 'vitest/config'
export default defineConfig({
plugins: [react()],
test: {
environment: 'node',
testTimeout: 20_000,
globalSetup: './tests/global-setup.ts',
setupFiles: [
"./tests/setup.ts",
],
snapshotSerializers: ["./tests/snapshot-serializer.ts"],
},
})