mirror of
https://github.com/labring/FastGPT.git
synced 2026-02-27 01:02:22 +08:00
22 lines
443 B
TypeScript
22 lines
443 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
setupFiles: ['./test/setup.ts'],
|
|
include: ['test/**/*.test.ts'],
|
|
hookTimeout: 120000,
|
|
coverage: {
|
|
reporter: ['text', 'json', 'html'],
|
|
include: ['src/**/*.ts'],
|
|
exclude: ['src/**/*.schema.ts', 'src/sdk/**/*']
|
|
}
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'@': './src'
|
|
}
|
|
}
|
|
});
|