forked from NangoHQ/nango
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvite.config.ts
More file actions
29 lines (26 loc) · 808 Bytes
/
vite.config.ts
File metadata and controls
29 lines (26 loc) · 808 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
/// <reference types="vitest" />
// Configure Vitest (https://vitest.dev/config/)
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: ['**/*.unit.{test,spec}.?(c|m)[jt]s?(x)'],
setupFiles: './tests/setupFiles.ts',
env: {
NANGO_ENCRYPTION_KEY: 'RzV4ZGo5RlFKMm0wYWlXdDhxTFhwb3ZrUG5KNGg3TmU=',
NANGO_LOGS_ES_URL: 'http://fake.com',
NANGO_LOGS_ES_USER: '',
NANGO_LOGS_ES_PWD: '',
NANGO_LOGS_ENABLED: 'false',
NANGO_DB_NAME: 'nango_test',
RUNNER_NODE_ID: '1'
},
chaiConfig: {
truncateThreshold: 10000
}
},
server: {
headers: {
'Cross-Origin-Embedder-Policy': 'unsafe-none'
}
}
});