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__"]