formhero/vitest.config.js
2023-01-31 01:26:27 +01:00

14 lines
269 B
JavaScript

/// <reference types="vitest" />
import react from '@vitejs/plugin-react'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [react()],
test: {
setupFiles: ['./test/setup.ts'],
globals: false,
environment: 'happy-dom',
},
})