formhero/vitest.config.js

14 lines
269 B
JavaScript
Raw Permalink Normal View History

2023-01-31 00:26:27 +00:00
/// <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',
},
})