vitest.config.ts 394 B

123456789101112131415161718192021
  1. import tsconfigPaths from 'vite-tsconfig-paths';
  2. import { defineConfig } from 'vitest/config';
  3. export default defineConfig({
  4. plugins: [
  5. tsconfigPaths(),
  6. ],
  7. test: {
  8. environment: 'node',
  9. clearMocks: true,
  10. globals: true,
  11. coverage: {
  12. thresholds: {
  13. lines: 100,
  14. functions: 100,
  15. branches: 100,
  16. statements: 100,
  17. },
  18. },
  19. },
  20. });