From c1128ffe2a953f3f4f1e1056083541eb8787d2cc Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 17 Oct 2024 12:20:17 +0200 Subject: [PATCH] Fix test --- packages/backend-core/src/environment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend-core/src/environment.ts b/packages/backend-core/src/environment.ts index 87dd2c5e87..4e93e8d9ee 100644 --- a/packages/backend-core/src/environment.ts +++ b/packages/backend-core/src/environment.ts @@ -80,7 +80,7 @@ function getPackageJsonFields(): { } let localVersion: string | undefined - if (isDev()) { + if (isDev() && !isTest()) { try { const lerna = getParentFile("lerna.json") localVersion = lerna.version