testing: print history

This commit is contained in:
MS 2021-04-29 16:51:15 +02:00
parent 9928d2ef35
commit cf0260fa7f
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 4 additions and 2 deletions

View File

@ -860,7 +860,7 @@ export namespace LibeufinNexusApi {
`/bank-accounts/${accountName}/transactions`,
baseUrl,
);
await axios.get(
let response = await axios.get(
url.href,
{
auth: {
@ -869,6 +869,8 @@ export namespace LibeufinNexusApi {
},
},
);
console.log(`History of account: ${accountName}`,
JSON.stringify(response.data, null, 2));
}

View File

@ -62,7 +62,7 @@ export async function runLibeufinRefundTest(t: GlobalTestState) {
// STEPS.
// 1. Exchange must import this payment into its Nexus / Facade.
// 1. Exchange must fetch this payment into its Nexus / Facade.
// 2. Facade logic should process incoming payments.
// 3. A reimbursement should be prepared.
// 4. The reimbursement payment should be sent.