chore: add tests

This commit is contained in:
Julien Calixte
2026-06-06 22:13:14 +02:00
parent 8a8509a0f3
commit 1a2d8f4ebf
23 changed files with 1943 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
/// <reference types="vitest" />
import vue from "@vitejs/plugin-vue"
import path from "path"
import { defineConfig, type UserConfigExport } from "vite"
@@ -8,6 +9,11 @@ export default defineConfig(({ command }) => {
build: {
minify: "esbuild"
},
test: {
environment: "jsdom",
setupFiles: ["./src/test/setup.ts"],
globals: false
},
plugins: [
vue(),
VitePWA({