fix: update test configuration to exclude .next directory from testing (#7334)

This commit is contained in:
Dhruwang Jariwala
2026-02-23 16:03:17 +05:30
committed by GitHub
parent 219883266c
commit 0636989d67
+1 -1
View File
@@ -8,7 +8,7 @@ export default defineConfig({
test: {
environment: "node",
environmentMatchGlobs: [["**/*.test.tsx", "jsdom"]],
exclude: ["playwright/**", "node_modules/**"],
exclude: ["playwright/**", "node_modules/**", ".next/**"],
setupFiles: ["./vitestSetup.ts"],
env: loadEnv("", process.cwd(), ""),
coverage: {