You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
480 B
21 lines
480 B
|
8 months ago
|
import { defineConfig } from 'vitest/config';
|
||
|
|
import { resolve } from 'path';
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
test: {
|
||
|
|
globals: true,
|
||
|
|
environment: 'node',
|
||
|
|
coverage: {
|
||
|
|
provider: 'v8',
|
||
|
|
reporter: ['text', 'json', 'html'],
|
||
|
|
include: ['src/**/*.ts'],
|
||
|
|
exclude: ['src/**/*.test.ts', 'src/**/*.d.ts']
|
||
|
|
}
|
||
|
|
},
|
||
|
|
resolve: {
|
||
|
|
alias: {
|
||
|
|
'@': resolve(__dirname, './src')
|
||
|
|
}
|
||
|
|
}
|
||
|
|
});
|