taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 375b3af7e8f71b84baafb9eb261697294ac5b9eb
parent a4bfce6e9305ed366b9e3d580a5267fccfb11ddf
Author: ms <ms@taler.net>
Date:   Tue, 27 Jul 2021 07:26:57 +0200

Configure Sandbox before tests

Diffstat:
Mpackages/taler-wallet-cli/src/integrationtests/libeufin.ts | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts @@ -201,6 +201,15 @@ export class LibeufinSandboxService implements LibeufinSandboxServiceInterface { } async start(): Promise<void> { + const stdout = await sh( + this.globalTestState, + "libeufin-sandbox-config", + "libeufin-sandbox config localhost", + { + ...process.env, + LIBEUFIN_SANDBOX_DB_CONNECTION: this.sandboxConfig.databaseJdbcUri, + }, + ); this.sandboxProc = this.globalTestState.spawnService( "libeufin-sandbox", ["serve", "--port", `${this.sandboxConfig.httpPort}`],