formatting

This commit is contained in:
MS 2021-02-05 14:38:34 +01:00
parent dab052673c
commit 7601973362
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 6 additions and 12 deletions

View File

@ -424,16 +424,15 @@ export class LibeufinCli {
}
async importBankAccount(
importDetails: LibeufinBankAccountImportDetails
importDetails: LibeufinBankAccountImportDetails,
): Promise<void> {
const stdout = await sh(
this.globalTestState,
"libeufin-cli-importbankaccount",
"libeufin-cli connections import-bank-account" +
` --offered-account-id=${importDetails.offeredBankAccountName}` +
` --nexus-bank-account-id=${importDetails.nexusBankAccountName}` +
` ${importDetails.connectionName}`,
` --offered-account-id=${importDetails.offeredBankAccountName}` +
` --nexus-bank-account-id=${importDetails.nexusBankAccountName}` +
` ${importDetails.connectionName}`,
{
...process.env,
LIBEUFIN_NEXUS_URL: this.cliDetails.nexusUrl,
@ -445,7 +444,6 @@ export class LibeufinCli {
}
async fetchTransactions(bankAccountName: string): Promise<void> {
const stdout = await sh(
this.globalTestState,
"libeufin-cli-fetchtransactions",
@ -461,7 +459,6 @@ export class LibeufinCli {
}
async transactions(bankAccountName: string): Promise<void> {
const stdout = await sh(
this.globalTestState,
"libeufin-cli-transactions",
@ -475,7 +472,6 @@ export class LibeufinCli {
);
console.log(stdout);
}
}
export namespace LibeufinSandboxApi {

View File

@ -106,9 +106,7 @@ export async function runLibeufinTutorialTest(t: GlobalTestState) {
await libeufinCli.importBankAccount(bankAccountImportDetails);
await libeufinCli.fetchTransactions(
bankAccountImportDetails.nexusBankAccountName
);
await libeufinCli.transactions(
bankAccountImportDetails.nexusBankAccountName
bankAccountImportDetails.nexusBankAccountName,
);
await libeufinCli.transactions(bankAccountImportDetails.nexusBankAccountName);
}