12 lines
279 B
TypeScript
12 lines
279 B
TypeScript
import { defineConfig, UserConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
// 👋 add the line below to add jsdom to vite
|
|
environment: 'jsdom',
|
|
}
|
|
} as UserConfig)
|