18 lines
445 B
TypeScript
18 lines
445 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) },
|
|
},
|
|
test: {
|
|
environment: 'node',
|
|
include: ['tests/**/*.test.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: ['src/budget/**'],
|
|
thresholds: { lines: 70, functions: 70, statements: 70, branches: 70 },
|
|
},
|
|
},
|
|
});
|