Add more logs

This commit is contained in:
adrinr 2023-01-31 10:21:19 +00:00
parent fb9657872b
commit 9536111811
2 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@ import env from "../src/environment"
const globalSafe = global as any const globalSafe = global as any
console.log(global)
env._set( env._set(
"COUCH_DB_PORT", "COUCH_DB_PORT",
globalSafe["__TESTCONTAINERS_COUCHDB-SERVICE-1_PORT_5984__"] globalSafe["__TESTCONTAINERS_COUCHDB-SERVICE-1_PORT_5984__"]

View File

@ -19,6 +19,8 @@ function overrideConfigValue(key: string, value: string) {
const globalSafe = global as any const globalSafe = global as any
console.log(global)
overrideConfigValue( overrideConfigValue(
"COUCH_DB_PORT", "COUCH_DB_PORT",
globalSafe["__TESTCONTAINERS_COUCHDB-SERVICE-1_PORT_5984__"] globalSafe["__TESTCONTAINERS_COUCHDB-SERVICE-1_PORT_5984__"]