Files
npm-audit-action/vitest.config.ts
2025-05-03 12:20:53 +00:00

15 lines
370 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['__tests__/**/*.test.ts'],
coverage: {
include: ['src/**/*.ts'], // Only target the src directory
exclude: ['lib/**'], // Exclude the lib directory
reporter: ['text', 'json', 'html', 'lcov']
}
}
})