mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
15 lines
298 B
TypeScript
15 lines
298 B
TypeScript
/// <reference types="vitest" />
|
|
/// <reference types="vite/client" />
|
|
|
|
import react from '@vitejs/plugin-react'
|
|
import { defineConfig } from 'vite'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
global: true,
|
|
environment: 'happy-dom',
|
|
},
|
|
})
|