diff options
author | Florian Dold <florian@dold.me> | 2023-04-06 12:47:34 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-04-06 12:47:34 +0200 |
commit | 43ae414a55b84b1125c5e4377c6d485ca6c748e2 (patch) | |
tree | 3e2f9ffc272406aa25327f19b9006d020f070658 /packages/taler-harness/src/harness/helpers.ts | |
parent | 3cf6d15eae299576eada8b501e5848ef29dad03c (diff) | |
download | wallet-core-43ae414a55b84b1125c5e4377c6d485ca6c748e2.tar.xz |
-re-add missing fields, fix types
Diffstat (limited to 'packages/taler-harness/src/harness/helpers.ts')
-rw-r--r-- | packages/taler-harness/src/harness/helpers.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/taler-harness/src/harness/helpers.ts b/packages/taler-harness/src/harness/helpers.ts index d203cc608..516312ed8 100644 --- a/packages/taler-harness/src/harness/helpers.ts +++ b/packages/taler-harness/src/harness/helpers.ts @@ -99,6 +99,8 @@ export interface EnvOptions { /** * Run a test case with a simple TESTKUDOS Taler environment, consisting * of one exchange, one bank and one merchant. + * + * @deprecated use {@link createSimpleTestkudosEnvironmentV2} instead */ export async function createSimpleTestkudosEnvironment( t: GlobalTestState, @@ -505,6 +507,11 @@ export interface WithdrawViaBankResult { withdrawalFinishedCond: Promise<WithdrawalGroupFinishedNotification>; } +/** + * Withdraw via a bank with the testing API enabled. + * Uses the new notification-based mechanism to wait for the + * operation to finish. + */ export async function withdrawViaBankV2( t: GlobalTestState, p: { @@ -550,6 +557,8 @@ export async function withdrawViaBankV2( /** * Withdraw balance. + * + * @deprecated use {@link withdrawViaBankV2 instead} */ export async function withdrawViaBank( t: GlobalTestState, |