From 69431782c41d23f25a31ae2e9d3fa24a74d36000 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Tue, 28 Nov 2023 19:10:50 -0300 Subject: fixing test --- packages/taler-wallet-webextension/src/cta/Withdraw/test.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'packages/taler-wallet-webextension') 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: [], -- cgit v1.2.3