From dc74d3057a04045977dd67ead7da656c90927735 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Wed, 4 Feb 2026 23:36:00 -0600 Subject: [PATCH] fix(tests): update setup file path in Vitest configuration for clarity - Changed the setup file path for global mocks in the Vitest configuration to a more explicit location, improving clarity and organization of test setup. --- apps/dokploy/__test__/vitest.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/__test__/vitest.config.ts b/apps/dokploy/__test__/vitest.config.ts index 6ad4313a2..c2a87912f 100644 --- a/apps/dokploy/__test__/vitest.config.ts +++ b/apps/dokploy/__test__/vitest.config.ts @@ -8,7 +8,7 @@ export default defineConfig({ exclude: ["**/node_modules/**", "**/dist/**", "**/.docker/**"], pool: "forks", // Se ejecuta antes de todos los tests y aplica mocks globales (db, postgres, etc.) - setupFiles: ["./setup/mock-db.ts"], + setupFiles: ["./__test__/setup/mock-db.ts"], }, define: { "process.env": {