forked from NangoHQ/nango
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.integration.config.ts
More file actions
32 lines (28 loc) · 917 Bytes
/
vite.integration.config.ts
File metadata and controls
32 lines (28 loc) · 917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/// <reference types="vitest" />
// Configure Vitest (https://vitest.dev/config/)
import { defineConfig } from 'vitest/config';
process.env.TZ = 'UTC';
export default defineConfig({
test: {
include: ['**/*.integration.{test,spec}.?(c|m)[jt]s?(x)'],
globalSetup: './tests/setup.ts',
setupFiles: './tests/setupFiles.ts',
testTimeout: 20000,
env: {
NANGO_ENCRYPTION_KEY: 'RzV4ZGo5RlFKMm0wYWlXdDhxTFhwb3ZrUG5KNGg3TmU=',
NANGO_LOGS_ENABLED: 'true',
NANGO_LOGS_ES_PREFIX: 'test',
FLAG_PLAN_ENABLED: 'true',
ORCHESTRATOR_SERVICE_URL: 'http://orchestrator',
RUNNER_NODE_ID: '1',
FLAG_API_RATE_LIMIT_ENABLED: 'false'
},
fileParallelism: false,
pool: 'forks',
poolOptions: {
forks: {
singleFork: true
}
}
}
});