test: switch vitest to happy-dom
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 1m0s
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 1m0s
This commit is contained in:
@@ -4,12 +4,7 @@ import react from "@vitejs/plugin-react";
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
test: {
|
||||
environment: "jsdom",
|
||||
environmentOptions: {
|
||||
jsdom: {
|
||||
url: "http://localhost/",
|
||||
},
|
||||
},
|
||||
environment: "happy-dom",
|
||||
setupFiles: "./src/test/setup.ts",
|
||||
css: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user