mirror of
https://github.com/cheeriojs/cheerio.git
synced 2026-02-25 23:25:17 +00:00
22 lines
405 B
TypeScript
22 lines
405 B
TypeScript
import { defineConfig, type ViteUserConfig } from 'vitest/config';
|
|
|
|
const config: ViteUserConfig = defineConfig({
|
|
test: {
|
|
coverage: {
|
|
exclude: [
|
|
'benchmark/**',
|
|
'scripts/**',
|
|
'website/**',
|
|
'dist/**',
|
|
'*.config.ts',
|
|
],
|
|
},
|
|
typecheck: {
|
|
enabled: true,
|
|
include: ['src/api/extract.spec.ts'],
|
|
},
|
|
},
|
|
});
|
|
|
|
export default config;
|