-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
24 lines (23 loc) · 858 Bytes
/
Copy pathvitest.config.ts
File metadata and controls
24 lines (23 loc) · 858 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
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: ['tests/**/*.test.ts', 'packages/*/src/**/*.test.ts'],
environment: 'node',
globals: false,
reporters: ['verbose'],
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
include: ['packages/*/src/**/*.ts'],
exclude: ['**/*.test.ts', '**/dist/**', '**/node_modules/**'],
},
},
resolve: {
alias: {
'@solar-code/core': new URL('./packages/core/src/index.ts', import.meta.url).pathname,
'@solar-code/engine': new URL('./packages/engine/src/index.ts', import.meta.url).pathname,
'@solar-code/agents': new URL('./packages/agents/src/index.ts', import.meta.url).pathname,
'@solar-code/skills': new URL('./packages/skills/src/index.ts', import.meta.url).pathname,
},
},
});