diff --git a/packages/cli/src/config/index.ts b/packages/cli/src/config/index.ts index fb269d9166..b9635966d8 100644 --- a/packages/cli/src/config/index.ts +++ b/packages/cli/src/config/index.ts @@ -6,15 +6,12 @@ import { inTest, inE2ETests } from '@/constants'; if (inE2ETests) { // Skip loading config from env variables in end-to-end tests - process.env = { - E2E_TESTS: 'true', - EXECUTIONS_PROCESS: 'main', - N8N_DIAGNOSTICS_ENABLED: 'false', - N8N_PUBLIC_API_DISABLED: 'true', - EXTERNAL_FRONTEND_HOOKS_URLS: '', - N8N_PERSONALIZATION_ENABLED: 'false', - N8N_AI_ENABLED: 'true', - }; + process.env.EXECUTIONS_PROCESS = 'main'; + process.env.N8N_DIAGNOSTICS_ENABLED = 'false'; + process.env.N8N_PUBLIC_API_DISABLED = 'true'; + process.env.EXTERNAL_FRONTEND_HOOKS_URLS = ''; + process.env.N8N_PERSONALIZATION_ENABLED = 'false'; + process.env.N8N_AI_ENABLED = 'true'; } else if (inTest) { process.env.N8N_LOG_LEVEL = 'silent'; process.env.N8N_ENCRYPTION_KEY = 'test-encryption-key';