diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-04-06 21:15:41 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-04-06 21:15:41 +0530 |
commit | f36bb7a04eabe0330cb166bf9ce5021c92f38dc8 (patch) | |
tree | 9a242a06bd5353c8b167600c31776c9f16d9d21c /src/headless/integrationtest.ts | |
parent | 07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (diff) | |
download | wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.xz |
linter
Diffstat (limited to 'src/headless/integrationtest.ts')
-rw-r--r-- | src/headless/integrationtest.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/headless/integrationtest.ts b/src/headless/integrationtest.ts index 6e45b76e2..9934f2048 100644 --- a/src/headless/integrationtest.ts +++ b/src/headless/integrationtest.ts @@ -43,7 +43,7 @@ async function makePayment( amount: string, summary: string, ): Promise<{ orderId: string }> { - let orderResp = await merchant.createOrder( + const orderResp = await merchant.createOrder( amount, summary, "taler://fulfillment-success/thx", @@ -60,7 +60,7 @@ async function makePayment( throw Error("no taler://pay/ URI in payment response"); } - let preparePayResult = await wallet.preparePayForUri(talerPayUri); + const preparePayResult = await wallet.preparePayForUri(talerPayUri); console.log("prepare pay result", preparePayResult); @@ -68,7 +68,7 @@ async function makePayment( throw Error("payment not possible"); } - let confirmPayResult = await wallet.confirmPay( + const confirmPayResult = await wallet.confirmPay( preparePayResult.proposalId, undefined, ); @@ -159,7 +159,7 @@ export async function runIntegrationTest(args: IntegrationTestArgs) { // Wait until the withdraw is done await myWallet.runUntilDone(); - let { orderId: refundOrderId } = await makePayment( + const { orderId: refundOrderId } = await makePayment( myWallet, myMerchant, Amounts.stringify(spendAmountTwo), @@ -299,7 +299,7 @@ export async function runIntegrationTestBasic(cfg: Configuration) { // Wait until the withdraw is done await myWallet.runUntilDone(); - let { orderId: refundOrderId } = await makePayment( + const { orderId: refundOrderId } = await makePayment( myWallet, myMerchant, Amounts.stringify(spendAmountTwo), |