formatting
This commit is contained in:
parent
dab052673c
commit
7601973362
@ -424,16 +424,15 @@ export class LibeufinCli {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async importBankAccount(
|
async importBankAccount(
|
||||||
importDetails: LibeufinBankAccountImportDetails
|
importDetails: LibeufinBankAccountImportDetails,
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
|
|
||||||
const stdout = await sh(
|
const stdout = await sh(
|
||||||
this.globalTestState,
|
this.globalTestState,
|
||||||
"libeufin-cli-importbankaccount",
|
"libeufin-cli-importbankaccount",
|
||||||
"libeufin-cli connections import-bank-account" +
|
"libeufin-cli connections import-bank-account" +
|
||||||
` --offered-account-id=${importDetails.offeredBankAccountName}` +
|
` --offered-account-id=${importDetails.offeredBankAccountName}` +
|
||||||
` --nexus-bank-account-id=${importDetails.nexusBankAccountName}` +
|
` --nexus-bank-account-id=${importDetails.nexusBankAccountName}` +
|
||||||
` ${importDetails.connectionName}`,
|
` ${importDetails.connectionName}`,
|
||||||
{
|
{
|
||||||
...process.env,
|
...process.env,
|
||||||
LIBEUFIN_NEXUS_URL: this.cliDetails.nexusUrl,
|
LIBEUFIN_NEXUS_URL: this.cliDetails.nexusUrl,
|
||||||
@ -445,7 +444,6 @@ export class LibeufinCli {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fetchTransactions(bankAccountName: string): Promise<void> {
|
async fetchTransactions(bankAccountName: string): Promise<void> {
|
||||||
|
|
||||||
const stdout = await sh(
|
const stdout = await sh(
|
||||||
this.globalTestState,
|
this.globalTestState,
|
||||||
"libeufin-cli-fetchtransactions",
|
"libeufin-cli-fetchtransactions",
|
||||||
@ -461,7 +459,6 @@ export class LibeufinCli {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async transactions(bankAccountName: string): Promise<void> {
|
async transactions(bankAccountName: string): Promise<void> {
|
||||||
|
|
||||||
const stdout = await sh(
|
const stdout = await sh(
|
||||||
this.globalTestState,
|
this.globalTestState,
|
||||||
"libeufin-cli-transactions",
|
"libeufin-cli-transactions",
|
||||||
@ -475,7 +472,6 @@ export class LibeufinCli {
|
|||||||
);
|
);
|
||||||
console.log(stdout);
|
console.log(stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export namespace LibeufinSandboxApi {
|
export namespace LibeufinSandboxApi {
|
||||||
|
@ -106,9 +106,7 @@ export async function runLibeufinTutorialTest(t: GlobalTestState) {
|
|||||||
|
|
||||||
await libeufinCli.importBankAccount(bankAccountImportDetails);
|
await libeufinCli.importBankAccount(bankAccountImportDetails);
|
||||||
await libeufinCli.fetchTransactions(
|
await libeufinCli.fetchTransactions(
|
||||||
bankAccountImportDetails.nexusBankAccountName
|
bankAccountImportDetails.nexusBankAccountName,
|
||||||
);
|
|
||||||
await libeufinCli.transactions(
|
|
||||||
bankAccountImportDetails.nexusBankAccountName
|
|
||||||
);
|
);
|
||||||
|
await libeufinCli.transactions(bankAccountImportDetails.nexusBankAccountName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user