es-toolkit/vitest.config.mts

15 lines
317 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-07-20 06:47:34 +03:00
exclude: ['src/browser.ts'],
2024-04-25 14:56:13 +03:00
},
},
});