-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.mjs
More file actions
36 lines (34 loc) · 1.12 KB
/
Copy pathvitest.config.mjs
File metadata and controls
36 lines (34 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
import path from 'node:path';
import { fileURLToPath } from 'node:url';
const rootDir = path.dirname(fileURLToPath(import.meta.url));
export default {
resolve: {
alias: {
'@': path.resolve(rootDir, './src'),
'@beemspec/processflow': path.resolve(rootDir, './packages/processflow/src/index.ts'),
'@beemspec/storymap': path.resolve(rootDir, './packages/storymap/src/index.ts'),
'@beemspec/opencode/runtime': path.resolve(rootDir, './packages/opencode/src/runtime.ts'),
'@beemspec/opencode': path.resolve(rootDir, './packages/opencode/src/index.ts'),
'@beemspec/linear': path.resolve(rootDir, './packages/linear/src/index.ts'),
},
},
test: {
exclude: ['e2e/**', 'node_modules/**', 'dist/**', '.next/**', '**/*.integration.test.*'],
coverage: {
provider: 'v8',
exclude: [
'e2e/**',
'node_modules/**',
'dist/**',
'.next/**',
'**/*.integration.test.*',
'**/*.test.*',
'**/*.spec.*',
'next.config.ts',
'playwright.config.ts',
'postcss.config.mjs',
'vitest.config.mjs',
],
},
},
};