GildedRose-Refactoring-Kata/TypeScript/vitest.config.ts
2023-02-22 11:33:47 +01:00

15 lines
330 B
TypeScript

import {defineConfig} from 'vitest/config';
import tsconfigPaths from 'vite-tsconfig-paths';
export default defineConfig({
plugins: [tsconfigPaths()],
test: {
globals: true,
include: ['test/vitest/**/*.{spec,test}.{js,ts}'],
coverage: {
provider: 'istanbul',
reporter: ['text', 'html']
}
},
});