vitest/examples/nextjs/vitest.config.ts
Rob Caldecott 2e8a3b105d
feat: added nextjs example (#920)
* 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>
2022-03-14 06:33:20 +08:00

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',
},
})