diff options
author | Florian Dold <florian@dold.me> | 2022-08-24 22:17:19 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-08-24 22:17:19 +0200 |
commit | a11ac57535b0375f152ce115ee541cb8aca98e84 (patch) | |
tree | 95294389598f6d15c0de389a8e5024dc17592b15 /packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-push.ts | |
parent | bf516a77e8d38e81ee9816d6ee0ab29bcb878e84 (diff) | |
download | wallet-core-a11ac57535b0375f152ce115ee541cb8aca98e84.tar.xz |
wallet-core: p2p support for transactions list
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-push.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-push.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-push.ts b/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-push.ts index bf65731d2..ebbe87ae8 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-push.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-peer-to-peer-push.ts @@ -17,6 +17,7 @@ /** * Imports. */ +import { j2s } from "@gnu-taler/taler-util"; import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; import { GlobalTestState, WalletCli } from "../harness/harness.js"; import { @@ -78,6 +79,18 @@ export async function runPeerToPeerPushTest(t: GlobalTestState) { await wallet1.runUntilDone(); await wallet2.runUntilDone(); + + const txn1 = await wallet1.client.call( + WalletApiOperation.GetTransactions, + {}, + ); + const txn2 = await wallet2.client.call( + WalletApiOperation.GetTransactions, + {}, + ); + + console.log(`txn1: ${j2s(txn1)}`); + console.log(`txn2: ${j2s(txn2)}`); } runPeerToPeerPushTest.suites = ["wallet"]; |