-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathvitest.integration.config.ts
More file actions
39 lines (38 loc) · 1.12 KB
/
vitest.integration.config.ts
File metadata and controls
39 lines (38 loc) · 1.12 KB
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
33
34
35
36
37
38
39
import { defineConfig } from 'vitest/config';
import path from 'node:path';
export default defineConfig({
test: {
name: 'stVaults CLI integration tests',
environment: 'node',
include: ['tests/integration/**/*.test.ts'],
exclude: ['**/node_modules/**', '**/dist/**'],
globalSetup: ['./tests/integration/global-setup.ts'],
globals: true,
testTimeout: 120000,
hookTimeout: 60000,
fileParallelism: false,
sequence: {
concurrent: false,
},
coverage: {
include: ['features/**/*.ts'],
exclude: ['features/**/*.test.ts', 'utils/proof/**/*.ts'],
},
env: {
NODE_ENV: 'test',
VITEST: 'true',
},
},
resolve: {
alias: {
abi: path.resolve(__dirname, './abi'),
command: path.resolve(__dirname, './command'),
utils: path.resolve(__dirname, './utils'),
configs: path.resolve(__dirname, './configs'),
version: path.resolve(__dirname, './version'),
contracts: path.resolve(__dirname, './contracts'),
features: path.resolve(__dirname, './features'),
providers: path.resolve(__dirname, './providers'),
},
},
});