aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-09-16 16:04:41 -0300
committerSebastian <sebasjm@gmail.com>2022-09-16 16:04:41 -0300
commite14310825437c5de93c07c570639d2a09fc4826b (patch)
tree6d63ed9d62bdb21fdbf41e8c5d30fcc08bb9326f /packages/taler-wallet-webextension/src/cta/Withdraw/test.ts
parent59d235e8d29159bc8caccf8bee6a2bca8b0b90dc (diff)
downloadwallet-core-e14310825437c5de93c07c570639d2a09fc4826b.tar.xz
pretty
Diffstat (limited to 'packages/taler-wallet-webextension/src/cta/Withdraw/test.ts')
-rw-r--r--packages/taler-wallet-webextension/src/cta/Withdraw/test.ts32
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",