mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
16 lines
363 B
TypeScript
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"],
|
|
},
|
|
})
|