feat(vitest): add setupFiles configuration to Vitest for frontend tests

This commit is contained in:
2026-01-04 14:59:27 -06:00
parent 8fac1134e2
commit bbf61d88a5

View File

@@ -8,6 +8,7 @@ export default defineConfig({
globals: true, globals: true,
environment: "jsdom", environment: "jsdom",
include: ["tests/frontend/**/*.{test,spec}.{js,ts,jsx,tsx}"], include: ["tests/frontend/**/*.{test,spec}.{js,ts,jsx,tsx}"],
setupFiles: ["tests/frontend/setup.js"],
}, },
resolve: { resolve: {
alias: { alias: {