borgwarehouse/vitest.config.ts
2025-04-20 23:08:21 +02:00

19 lines
352 B
TypeScript

// vitest.config.ts
import { defineConfig } from 'vitest/config';
import path from 'path';
export default defineConfig({
test: {
environment: 'node',
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
},
globals: true,
},
resolve: {
alias: {
'~': path.resolve(__dirname, './'),
},
},
});