logging stdout

This commit is contained in:
MS 2021-02-03 15:09:13 +01:00
parent fcbfe67122
commit 5765c51b2e
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -189,21 +189,23 @@ export class LibeufinCli {
}
async checkSandbox(): Promise<void> {
await sh(
const stdout = await sh(
this.globalTestState,
"libeufin-cli-checksandbox",
"libeufin-cli sandbox check",
extendEnv({ LIBEUFIN_SANDBOX_URL: this.cliDetails.sandboxUrl }),
);
console.log(stdout);
}
async createEbicsHost(hostId: string): Promise<void> {
await sh(
const stdout = await sh(
this.globalTestState,
"libeufin-cli-createebicshost",
`libeufin-cli sandbox ebicshost create --host-id=${hostId}`,
extendEnv({ LIBEUFIN_SANDBOX_URL: this.cliDetails.sandboxUrl }),
);
console.log(stdout);
}
}