mirror of
https://github.com/Done-0/fuck-u-code.git
synced 2026-05-07 05:47:57 +08:00
21 lines
412 B
TypeScript
21 lines
412 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['tests/**/*.test.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'json', 'html'],
|
|
include: ['src/**/*.ts'],
|
|
exclude: ['src/**/*.d.ts', 'src/**/types.ts'],
|
|
},
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'../src': './src',
|
|
},
|
|
},
|
|
});
|