mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
18 lines
360 B
TypeScript
18 lines
360 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: 'jsdom',
|
|
deps: {
|
|
inline: ['@testing-library/user-event'],
|
|
},
|
|
},
|
|
})
|