From 13f0442736479fb6ea8d1ecc7311cdac354a4de5 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 12 Feb 2023 19:30:59 +0100 Subject: harness: finish kyc test We mock the KYC gateway now, use the new notification-based wallet API and the test is not experimental anymore. --- packages/taler-wallet-cli/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/taler-wallet-cli/src') diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 6641dab09..7e942ede7 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -228,9 +228,9 @@ export interface WalletContext { * Return a promise that resolves after the wallet has emitted a notification * that meets the criteria of the "cond" predicate. */ - waitForNotificationCond( - cond: (n: WalletNotification) => boolean, - ): Promise; + waitForNotificationCond( + cond: (n: WalletNotification) => T | false | undefined, + ): Promise; } async function createLocalWallet( -- cgit v1.2.3