18 lines
528 B
TypeScript
18 lines
528 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
// Production e2e: drives the real SDK against a seeded project on api.rudder.build.
|
|
// Runs in Node (real fetch, no jsdom). globalSetup seeds + tears down the project.
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
globals: true,
|
|
include: ['test/e2e-prod/**/*.e2e.test.ts'],
|
|
globalSetup: ['test/e2e-prod/_setup/globalSetup.ts'],
|
|
testTimeout: 60_000,
|
|
hookTimeout: 120_000,
|
|
retry: 1,
|
|
fileParallelism: false,
|
|
pool: 'forks',
|
|
},
|
|
});
|