es-toolkit/vitest.config.mts

15 lines
328 B
TypeScript
Raw Normal View History

2024-04-25 14:56:13 +03:00
import { defineConfig } from 'vitest/config';
import packageJson from './package.json';
export default defineConfig({
test: {
name: packageJson.name,
2024-07-20 06:47:34 +03:00
exclude: ['./benchmarks/**/*'],
2024-04-25 14:56:13 +03:00
coverage: {
provider: 'istanbul',
include: ['src/**/*'],
2024-08-11 04:54:13 +03:00
exclude: ['src/compat/_internal/**/*'],
2024-04-25 14:56:13 +03:00
},
},
});