mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
* feat: added nextjs example * chore: update * chore: simplify nextjs demo Co-authored-by: Rob Caldecott <robert.caldecott@keyloop.com> Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
13 lines
247 B
TypeScript
13 lines
247 B
TypeScript
/// <reference types="vitest" />
|
|
|
|
import { defineConfig } from 'vitest/config'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
test: {
|
|
environment: 'jsdom',
|
|
},
|
|
})
|