summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx34
1 files changed, 1 insertions, 33 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
index c17d15b01..194f0e0bb 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
@@ -38,11 +38,10 @@ import {
TransactionPeerPushDebit,
TransactionRefresh,
TransactionRefund,
- TransactionReward,
TransactionType,
TransactionWithdrawal,
WithdrawalDetails,
- WithdrawalType,
+ WithdrawalType
} from "@gnu-taler/taler-util";
import * as tests from "@gnu-taler/web-util/testing";
import beer from "../../static-dev/beer.png";
@@ -137,17 +136,6 @@ const exampleData = {
exchangeBaseUrl: "http://exchange.taler",
refreshReason: RefreshReason.Manual,
} as TransactionRefresh,
- tip: {
- ...commonTransaction,
- type: TransactionType.Reward,
- // merchant: {
- // name: "the merchant",
- // logo: merchantIcon,
- // website: "https://www.themerchant.taler",
- // email: "contact@merchant.taler",
- // },
- merchantBaseUrl: "http://merchant.taler",
- } as TransactionReward,
refund: {
...commonTransaction,
type: TransactionType.Refund,
@@ -584,26 +572,6 @@ export const RefreshError = tests.createExample(TestedComponent, {
},
});
-export const Tip = tests.createExample(TestedComponent, {
- transaction: exampleData.tip,
-});
-
-export const TipError = tests.createExample(TestedComponent, {
- transaction: {
- ...exampleData.tip,
- error: transactionError,
- },
-});
-
-export const TipPending = tests.createExample(TestedComponent, {
- transaction: {
- ...exampleData.tip,
- txState: {
- major: TransactionMajorState.Pending,
- },
- },
-});
-
export const Refund = tests.createExample(TestedComponent, {
transaction: exampleData.refund,
});