diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-28 19:10:50 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-28 19:10:54 -0300 |
commit | 69431782c41d23f25a31ae2e9d3fa24a74d36000 (patch) | |
tree | cad556d93efbb7bff52dfeaf3bea8f8fd945b8c9 /packages/taler-wallet-webextension | |
parent | 20d86e00c59a25b418329928f24d51dff3764a2e (diff) | |
download | wallet-core-69431782c41d23f25a31ae2e9d3fa24a74d36000.tar.xz |
fixing test
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Withdraw/test.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts b/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts index 108f5d005..5b5530f1c 100644 --- a/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts +++ b/packages/taler-wallet-webextension/src/cta/Withdraw/test.ts @@ -25,6 +25,7 @@ import { ExchangeEntryStatus, ExchangeListItem, ExchangeTosStatus, + ScopeType, } from "@gnu-taler/taler-util"; import { WalletApiOperation } from "@gnu-taler/taler-wallet-core"; import { expect } from "chai"; @@ -159,6 +160,11 @@ describe("Withdraw CTA states", () => { amountEffective: "ARS:2" as AmountString, paytoUris: ["payto://"], tosAccepted: true, + scopeInfo: { + currency: "ARS", + type: ScopeType.Exchange, + url: "http://asd" + }, withdrawalAccountList: [], ageRestrictionOptions: [], numCoins: 42, @@ -223,6 +229,11 @@ describe("Withdraw CTA states", () => { amountRaw: "ARS:2" as AmountString, amountEffective: "ARS:2" as AmountString, paytoUris: ["payto://"], + scopeInfo: { + currency: "ARS", + type: ScopeType.Exchange, + url: "http://asd" + }, tosAccepted: false, withdrawalAccountList: [], ageRestrictionOptions: [], |