Setup Vitest

This commit is contained in:
Nettika 2026-01-28 23:22:55 -08:00
parent 3b76d3efa7
commit 2105d05749
No known key found for this signature in database
6 changed files with 616 additions and 5 deletions

View file

@ -1,7 +1,12 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue()],
test: {
globals: true,
environment: 'happy-dom',
},
})