This commit is contained in:
Sebastian 2023-06-05 10:04:24 -03:00
parent c680f5aa71
commit 16900104b5
No known key found for this signature in database
GPG Key ID: 173909D1A5F66069

View File

@ -29,6 +29,7 @@ import {
TransactionDeposit,
TransactionIdStr,
TransactionMajorState,
TransactionMinorState,
TransactionPayment,
TransactionPeerPullCredit,
TransactionPeerPullDebit,
@ -169,6 +170,7 @@ const exampleData = {
summary: "take this money",
completed: true,
},
kycUrl: undefined,
exchangeBaseUrl: "https://exchange.taler.net",
} as TransactionPeerPushCredit,
push_debit: {
@ -197,6 +199,7 @@ const exampleData = {
summary: "pay me, please?",
completed: true,
},
kycUrl: undefined,
exchangeBaseUrl: "https://exchange.taler.net",
} as TransactionPeerPullCredit,
pull_debit: {
@ -278,7 +281,12 @@ export const WithdrawError = tests.createExample(TestedComponent, {
export const WithdrawErrorKYC = tests.createExample(TestedComponent, {
transaction: {
...exampleData.withdraw,
error: kycError,
txState: {
major: TransactionMajorState.Pending,
minor: TransactionMinorState.KycRequired,
},
// error: kycError,
},
});
// export const WithdrawErrorInDevMode = tests.createExampleInCustomContext(