testing: print history
This commit is contained in:
parent
9928d2ef35
commit
cf0260fa7f
@ -860,7 +860,7 @@ export namespace LibeufinNexusApi {
|
|||||||
`/bank-accounts/${accountName}/transactions`,
|
`/bank-accounts/${accountName}/transactions`,
|
||||||
baseUrl,
|
baseUrl,
|
||||||
);
|
);
|
||||||
await axios.get(
|
let response = await axios.get(
|
||||||
url.href,
|
url.href,
|
||||||
{
|
{
|
||||||
auth: {
|
auth: {
|
||||||
@ -869,6 +869,8 @@ export namespace LibeufinNexusApi {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
console.log(`History of account: ${accountName}`,
|
||||||
|
JSON.stringify(response.data, null, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ export async function runLibeufinRefundTest(t: GlobalTestState) {
|
|||||||
|
|
||||||
// STEPS.
|
// 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.
|
// 2. Facade logic should process incoming payments.
|
||||||
// 3. A reimbursement should be prepared.
|
// 3. A reimbursement should be prepared.
|
||||||
// 4. The reimbursement payment should be sent.
|
// 4. The reimbursement payment should be sent.
|
||||||
|
Loading…
Reference in New Issue
Block a user