From d32d2895cedad656d7130522722f40642c439de6 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 Aug 2022 11:11:02 +0200 Subject: -get p2p pull integration test to run through --- .../src/integrationtests/test-peer-to-peer-pull.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/taler-wallet-cli/src/integrationtests') 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(); } -- cgit v1.2.3