chore: add tests
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user