diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Withdraw/test.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Withdraw/test.ts | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts b/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts index a0c24a6bb..f614c1c8c 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts +++ b/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts @@ -68,7 +68,9 @@ describe("Withdraw CTA states", () => { cancel: async () => { null; }, - onSuccess: async () => { null }, + onSuccess: async () => { + null; + }, }, { listExchanges: async () => ({ exchanges }), @@ -109,7 +111,9 @@ describe("Withdraw CTA states", () => { cancel: async () => { null; }, - onSuccess: async () => { null }, + onSuccess: async () => { + null; + }, }, { listExchanges: async () => ({ exchanges }), @@ -152,7 +156,9 @@ describe("Withdraw CTA states", () => { cancel: async () => { null; }, - onSuccess: async () => { null }, + onSuccess: async () => { + null; + }, }, { listExchanges: async () => ({ exchanges }), @@ -163,10 +169,10 @@ describe("Withdraw CTA states", () => { }), getExchangeWithdrawalInfo: async (): Promise<ExchangeWithdrawDetails> => - ({ - withdrawalAmountRaw: "ARS:2", - withdrawalAmountEffective: "ARS:2", - } as any), + ({ + withdrawalAmountRaw: "ARS:2", + withdrawalAmountEffective: "ARS:2", + } as any), getExchangeTos: async (): Promise<GetExchangeTosResult> => ({ contentType: "text", content: "just accept", @@ -227,7 +233,9 @@ describe("Withdraw CTA states", () => { cancel: async () => { null; }, - onSuccess: async () => { null }, + onSuccess: async () => { + null; + }, }, { listExchanges: async () => ({ exchanges }), @@ -238,10 +246,10 @@ describe("Withdraw CTA states", () => { }), getExchangeWithdrawalInfo: async (): Promise<ExchangeWithdrawDetails> => - ({ - withdrawalAmountRaw: "ARS:2", - withdrawalAmountEffective: "ARS:2", - } as any), + ({ + withdrawalAmountRaw: "ARS:2", + withdrawalAmountEffective: "ARS:2", + } as any), getExchangeTos: async (): Promise<GetExchangeTosResult> => ({ contentType: "text", content: "just accept", |