From 953611181115828464a73a2cbd8edf2971b4e4c7 Mon Sep 17 00:00:00 2001 From: adrinr Date: Tue, 31 Jan 2023 10:21:19 +0000 Subject: [PATCH] Add more logs --- packages/backend-core/tests/jestSetup.ts | 2 ++ packages/server/src/tests/jestSetup.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/backend-core/tests/jestSetup.ts b/packages/backend-core/tests/jestSetup.ts index 35e99ec919..0c5a239c9e 100644 --- a/packages/backend-core/tests/jestSetup.ts +++ b/packages/backend-core/tests/jestSetup.ts @@ -2,6 +2,8 @@ import env from "../src/environment" const globalSafe = global as any +console.log(global) + env._set( "COUCH_DB_PORT", globalSafe["__TESTCONTAINERS_COUCHDB-SERVICE-1_PORT_5984__"] diff --git a/packages/server/src/tests/jestSetup.ts b/packages/server/src/tests/jestSetup.ts index 7446dfb8ea..8dfad74c67 100644 --- a/packages/server/src/tests/jestSetup.ts +++ b/packages/server/src/tests/jestSetup.ts @@ -19,6 +19,8 @@ function overrideConfigValue(key: string, value: string) { const globalSafe = global as any +console.log(global) + overrideConfigValue( "COUCH_DB_PORT", globalSafe["__TESTCONTAINERS_COUCHDB-SERVICE-1_PORT_5984__"]