mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-01-15 17:12:42 +08:00
17 lines
498 B
TypeScript
17 lines
498 B
TypeScript
import { defineConfig, configDefaults } from 'vitest/config';
|
|
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
|
|
export default defineConfig({
|
|
plugins: [tsconfigPaths()],
|
|
test: {
|
|
watch: false,
|
|
coverage: {
|
|
include: ['lib/**/*.ts'],
|
|
exclude: ['lib/routes/**', 'lib/routes-deprecated/**'],
|
|
},
|
|
testTimeout: 10000,
|
|
setupFiles: ['./lib/setup.test.ts'],
|
|
exclude: [...configDefaults.exclude, './lib/setup.test.ts'],
|
|
},
|
|
});
|