@@ -0,0 +1,17 @@
|
||||
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',
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user