mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-13 07:10:51 +02:00
Add vitest, add json validation tests, fix broken json files (#566)
This commit is contained in:
committed by
GitHub
parent
000f206d90
commit
03be08be63
11
frontend/vitest.config.mjs
Normal file
11
frontend/vitest.config.mjs
Normal file
@@ -0,0 +1,11 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import tsconfigPaths from 'vite-tsconfig-paths'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [tsconfigPaths(), react()],
|
||||
test: {
|
||||
environment: "jsdom",
|
||||
setupFiles: ["src/__tests__/setupTests.ts"]
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user