1
0
Fork 0

chore(deps): add vitest for testing

This commit is contained in:
Vojtěch Mareš 2022-12-09 02:12:31 +01:00
parent dbf0c28843
commit 7eb5259121
3 changed files with 1304 additions and 5 deletions

16
vitest.config.ts Normal file
View file

@ -0,0 +1,16 @@
/// <reference types="vitest" />
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
import tsconfigPaths from 'vite-tsconfig-paths'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react(),
tsconfigPaths(),
],
test: {
environment: 'jsdom',
},
})