aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts19
1 files changed, 8 insertions, 11 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts b/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts
index eb29a81c2..39d9b9edb 100644
--- a/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts
+++ b/packages/taler-harness/src/integrationtests/test-peer-to-peer-push.ts
@@ -61,7 +61,7 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) {
partialContractTerms: {
summary: "Hello World 😁😇",
amount: "TESTKUDOS:5",
- purse_expiration
+ purse_expiration,
},
},
);
@@ -74,7 +74,7 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) {
partialContractTerms: {
summary: "Hello World 🥺",
amount: "TESTKUDOS:5",
- purse_expiration
+ purse_expiration,
},
},
);
@@ -115,16 +115,13 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) {
console.log(`txn2: ${j2s(txn2)}`);
const ex1 = await t.assertThrowsTalerErrorAsync(async () => {
- await wallet1.client.call(
- WalletApiOperation.InitiatePeerPushPayment,
- {
- partialContractTerms: {
- summary: "(this will fail)",
- amount: "TESTKUDOS:15",
- purse_expiration
- },
+ await wallet1.client.call(WalletApiOperation.InitiatePeerPushPayment, {
+ partialContractTerms: {
+ summary: "(this will fail)",
+ amount: "TESTKUDOS:15",
+ purse_expiration,
},
- );
+ });
});
console.log("got expected exception detail", j2s(ex1.errorDetail));