aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-cli/src/integrationtests
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-08-24 11:11:02 +0200
committerFlorian Dold <florian@dold.me>2022-08-24 11:11:02 +0200
commitd32d2895cedad656d7130522722f40642c439de6 (patch)
treec3a718ce206715242c01f6b68a9a52a1aef84458 /packages/taler-wallet-cli/src/integrationtests
parentbc434ebb83a5985a3aa33b94310eb23d694214da (diff)
downloadwallet-core-d32d2895cedad656d7130522722f40642c439de6.tar.xz
-get p2p pull integration test to run through
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests')
-rw-r--r--packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-pull.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-pull.ts b/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-pull.ts
index e78bd5a29..1be1563ce 100644
--- a/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-pull.ts
+++ b/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-pull.ts
@@ -17,6 +17,7 @@
/**
* Imports.
*/
+import { j2s } from "@gnu-taler/taler-util";
import { WalletApiOperation } from "@gnu-taler/taler-wallet-core";
import { GlobalTestState } from "../harness/harness.js";
import {
@@ -57,6 +58,8 @@ export async function runPeerToPeerPullTest(t: GlobalTestState) {
},
);
+ console.log(`checkResp: ${j2s(checkResp)}`);
+
const acceptResp = await wallet.client.call(
WalletApiOperation.AcceptPeerPullPayment,
{
@@ -64,6 +67,10 @@ export async function runPeerToPeerPullTest(t: GlobalTestState) {
},
);
+ const txs = await wallet.client.call(WalletApiOperation.GetTransactions, {});
+
+ console.log(`transactions: ${j2s(txs)}`);
+
await wallet.runUntilDone();
}