vitest.config.ts 239 B

1234567891011
  1. import { defineConfig } from 'vitest/config'
  2. import react from '@vitejs/plugin-react'
  3. export default defineConfig({
  4. plugins: [react()],
  5. test: {
  6. globals: true,
  7. environment: 'jsdom',
  8. setupFiles: './setupVitest.js',
  9. },
  10. });