mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
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.
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user