-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathvitest.config.ts
More file actions
29 lines (28 loc) · 863 Bytes
/
vitest.config.ts
File metadata and controls
29 lines (28 loc) · 863 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
import { defineConfig } from 'vitest/config';
import path from 'path';
export default defineConfig({
test: {
name: 'stVaults CLI tests',
environment: 'node',
include: ['tests/utils/**/*.test.ts'],
exclude: ['**/node_modules/**', '**/dist/**', 'tests/integration/**'],
globals: true,
testTimeout: 30000,
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'),
},
},
});