From cb99c9c328a6e43eefeeb481ef9231162c9c4708 Mon Sep 17 00:00:00 2001 From: Harsh Rastogi Date: Tue, 24 Sep 2024 16:13:28 +0530 Subject: [PATCH] refactor: make `signInteraction` method asynchronous --- packages/js-moi-wallet/__tests__/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/js-moi-wallet/__tests__/index.test.ts b/packages/js-moi-wallet/__tests__/index.test.ts index 255c5b93..2c463179 100644 --- a/packages/js-moi-wallet/__tests__/index.test.ts +++ b/packages/js-moi-wallet/__tests__/index.test.ts @@ -161,7 +161,7 @@ describe("Wallet", () => { }; const algo = wallet.signingAlgorithms["ecdsa_secp256k1"]; - const ixArgs = wallet.signInteraction(ixObject, algo); + const ixArgs = await wallet.signInteraction(ixObject, algo); expect(ixArgs).toBeDefined(); expect(ixArgs).toMatchObject({