From 97087f2d5e8034f8546495d78a97381509cec82f Mon Sep 17 00:00:00 2001 From: FedericoAmura Date: Wed, 14 Feb 2024 19:50:17 -0300 Subject: [PATCH] fix eth pkp wallet creation unit test --- packages/pkp-client/src/lib/wallet-factory.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pkp-client/src/lib/wallet-factory.spec.ts b/packages/pkp-client/src/lib/wallet-factory.spec.ts index f48fde1cd6..ec520ea204 100644 --- a/packages/pkp-client/src/lib/wallet-factory.spec.ts +++ b/packages/pkp-client/src/lib/wallet-factory.spec.ts @@ -66,7 +66,7 @@ describe('WalletFactory', () => { }, }; - expect(WalletFactory.createWallet('eth', ethProp)).toThrowError( + expect(() => WalletFactory.createWallet('eth', ethProp)).toThrowError( 'controllerAuthSig and authContext are defined, can only use one or the other' ); });