diff options
author | Sebastian <sebasjm@gmail.com> | 2023-02-13 15:32:23 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-02-13 15:32:23 -0300 |
commit | 6106caeba9e017242dfd334c34c8473aefb6ffb0 (patch) | |
tree | abbfa3a86b1b865938e1a5f43404269f7167491b /packages/taler-wallet-webextension/src/popup/Balance.stories.tsx | |
parent | bb6644367bc014fcc09e44a7b32c2f58861ac835 (diff) | |
download | wallet-core-6106caeba9e017242dfd334c34c8473aefb6ffb0.tar.xz |
fix broken build since wallet-core new api and placeholder for payment-temlate
Diffstat (limited to 'packages/taler-wallet-webextension/src/popup/Balance.stories.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/popup/Balance.stories.tsx | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/popup/Balance.stories.tsx b/packages/taler-wallet-webextension/src/popup/Balance.stories.tsx index 0fe9e7b49..6bfc75800 100644 --- a/packages/taler-wallet-webextension/src/popup/Balance.stories.tsx +++ b/packages/taler-wallet-webextension/src/popup/Balance.stories.tsx @@ -19,6 +19,7 @@ * @author Sebastian Javier Marchano (sebasjm) */ +import { ScopeType } from "@gnu-taler/taler-util"; import { tests } from "@gnu-taler/web-util/lib/index.browser"; import { BalanceView as TestedComponent } from "./BalancePage.js"; @@ -39,6 +40,11 @@ export const SomeCoins = tests.createExample(TestedComponent, { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, ], addAction: {}, @@ -53,6 +59,11 @@ export const SomeCoinsInTreeCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, { available: "TESTKUDOS:2000", @@ -60,6 +71,11 @@ export const SomeCoinsInTreeCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, { available: "JPY:4", @@ -67,6 +83,11 @@ export const SomeCoinsInTreeCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "EUR:15", pendingOutgoing: "EUR:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, ], goToWalletManualWithdraw: {}, @@ -81,6 +102,11 @@ export const NoCoinsInTreeCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, { available: "USD:2", @@ -88,6 +114,11 @@ export const NoCoinsInTreeCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, { available: "ARS:1", @@ -95,6 +126,11 @@ export const NoCoinsInTreeCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "EUR:15", pendingOutgoing: "EUR:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, ], goToWalletManualWithdraw: {}, @@ -109,6 +145,11 @@ export const SomeCoinsInFiveCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, { available: "ARS:13451", @@ -116,6 +157,11 @@ export const SomeCoinsInFiveCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, { available: "EUR:202.02", @@ -123,6 +169,11 @@ export const SomeCoinsInFiveCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "EUR:0", pendingOutgoing: "EUR:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, { available: "JPY:0", @@ -130,6 +181,11 @@ export const SomeCoinsInFiveCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "EUR:0", pendingOutgoing: "EUR:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, { available: "JPY:51223233", @@ -137,6 +193,11 @@ export const SomeCoinsInFiveCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "EUR:0", pendingOutgoing: "EUR:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, { available: "DEMOKUDOS:6", @@ -144,6 +205,11 @@ export const SomeCoinsInFiveCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "USD:0", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, { available: "TESTKUDOS:6", @@ -151,6 +217,11 @@ export const SomeCoinsInFiveCurrencies = tests.createExample(TestedComponent, { pendingIncoming: "USD:5", pendingOutgoing: "USD:0", requiresUserInput: false, + scopeInfo: { + currency: "TESTKUDOS", + type: ScopeType.Auditor, + url: "asd", + }, }, ], goToWalletManualWithdraw: {}, |