From e21c1b31928cd6bfe90150ea2de19799b6359c40 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 23 Mar 2022 16:20:39 -0300 Subject: splitted rollup config for testing and first component state unit test --- .../src/wallet/CreateManualWithdraw.stories.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.stories.tsx') diff --git a/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.stories.tsx b/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.stories.tsx index e4955e376..407d4ef34 100644 --- a/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.stories.tsx +++ b/packages/taler-wallet-webextension/src/wallet/CreateManualWithdraw.stories.tsx @@ -29,30 +29,30 @@ export default { }; // , -const exchangeList = { +const exchangeUrlWithCurrency = { "http://exchange.taler:8081": "COL", "http://exchange.tal": "EUR", }; export const WithoutAnyExchangeKnown = createExample(TestedComponent, { - exchangeList: {}, + exchangeUrlWithCurrency: {}, }); export const InitialState = createExample(TestedComponent, { - exchangeList, + exchangeUrlWithCurrency, }); export const WithAmountInitialized = createExample(TestedComponent, { initialAmount: "10", - exchangeList, + exchangeUrlWithCurrency, }); export const WithExchangeError = createExample(TestedComponent, { error: "The exchange url seems invalid", - exchangeList, + exchangeUrlWithCurrency, }); export const WithAmountError = createExample(TestedComponent, { initialAmount: "e", - exchangeList, + exchangeUrlWithCurrency, }); -- cgit v1.2.3