diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-09-04 15:28:19 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-09-04 15:28:19 +0200 |
commit | 5c809c3d9b458a47313a25e300d3c34e5700678a (patch) | |
tree | d384ceeb30fb34f51506e4750424e15c778b0f30 /src/headless/integrationtest.ts | |
parent | 604a74007d559258e6630144a6293c351735d15d (diff) | |
download | wallet-core-5c809c3d9b458a47313a25e300d3c34e5700678a.tar.xz |
wait for refreshes to finish before exiting integration test
Diffstat (limited to 'src/headless/integrationtest.ts')
-rw-r--r-- | src/headless/integrationtest.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/headless/integrationtest.ts b/src/headless/integrationtest.ts index 3b0069c21..3e60d418a 100644 --- a/src/headless/integrationtest.ts +++ b/src/headless/integrationtest.ts @@ -83,5 +83,8 @@ export async function runIntegrationTest(args: { throw Error("payment did not succeed"); } + const refreshRes = await myWallet.refreshDirtyCoins(); + console.log(`waited to refresh ${refreshRes.numRefreshed} coins`); + myWallet.stop(); } |