diff options
author | Florian Dold <florian@dold.me> | 2024-03-07 11:33:41 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-03-07 11:33:41 +0100 |
commit | 5ca3c7878da9a495c67ea7faed91c8dbce04e603 (patch) | |
tree | 2a194e94bba1415f4504f119bd3beb0ad33d4c81 /packages/taler-wallet-webextension | |
parent | 466e2b7643692aa6b7f76a193b84775008e17350 (diff) |
wallet-core: simplify/improve insufficient balance details computation
Diffstat (limited to 'packages/taler-wallet-webextension')
-rw-r--r-- | packages/taler-wallet-webextension/src/cta/Payment/stories.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx b/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx index 567b5c177..93b96c836 100644 --- a/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx +++ b/packages/taler-wallet-webextension/src/cta/Payment/stories.tsx @@ -60,6 +60,7 @@ export const NoEnoughBalanceAvailable = tests.createExample(BaseView, { balanceMerchantAcceptable: "USD:9" as AmountString, balanceMerchantDepositable: "USD:9" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, + balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, }, talerUri: "taler://pay/..", @@ -101,6 +102,7 @@ export const NoEnoughBalanceMaterial = tests.createExample(BaseView, { balanceMerchantAcceptable: "USD:9" as AmountString, balanceMerchantDepositable: "USD:0" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, + balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, }, talerUri: "taler://pay/..", @@ -142,6 +144,7 @@ export const NoEnoughBalanceAgeAcceptable = tests.createExample(BaseView, { balanceMerchantAcceptable: "USD:9" as AmountString, balanceMerchantDepositable: "USD:9" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, + balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, }, talerUri: "taler://pay/..", @@ -184,6 +187,7 @@ export const NoEnoughBalanceMerchantAcceptable = tests.createExample(BaseView, { balanceMerchantAcceptable: "USD:9" as AmountString, balanceMerchantDepositable: "USD:9" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, + balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, }, talerUri: "taler://pay/..", @@ -227,6 +231,7 @@ export const NoEnoughBalanceMerchantDepositable = tests.createExample( balanceMerchantAcceptable: "USD:10" as AmountString, balanceMerchantDepositable: "USD:9" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, + balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, }, talerUri: "taler://pay/..", @@ -269,6 +274,7 @@ export const NoEnoughBalanceFeeGap = tests.createExample(BaseView, { balanceMerchantAcceptable: "USD:10" as AmountString, balanceMerchantDepositable: "USD:10" as AmountString, maxEffectiveSpendAmount: "USD:9.5" as AmountString, + balanceExchangeDepositable: "USD:9.5" as AmountString, perExchange: {}, }, talerUri: "taler://pay/..", |