15 lines
354 B
TypeScript
15 lines
354 B
TypeScript
import { defineConfig } from 'vitest/config'
|
|
import packageJson from './package.json'
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
name: packageJson.name,
|
|
dir: './src',
|
|
watch: false,
|
|
globals: true,
|
|
coverage: { enabled: true, provider: 'istanbul', include: ['src/**/*'] },
|
|
typecheck: { enabled: true },
|
|
restoreMocks: true,
|
|
},
|
|
})
|