Files
Arkie-Library-Frontend/vitest.config.ts
TerryM 5b67279734
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 1m28s
ci: pin node for jsdom tests
2026-05-16 21:12:48 +08:00

17 lines
332 B
TypeScript

import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
test: {
environment: "jsdom",
environmentOptions: {
jsdom: {
url: "http://localhost/",
},
},
setupFiles: "./src/test/setup.ts",
css: false,
},
});