diff --git a/modules/tests/purser-metamask/staticMethods/signMessage.test.js b/modules/tests/purser-metamask/staticMethods/signMessage.test.js index d0a81afb..757304d8 100644 --- a/modules/tests/purser-metamask/staticMethods/signMessage.test.js +++ b/modules/tests/purser-metamask/staticMethods/signMessage.test.js @@ -184,8 +184,7 @@ describe('`Metamask` Wallet Module Static Methods', () => { mockedMessageSignature, ), ); - expect(() => signMessage(mockedArgumentsObject)).not.toThrow(); - expect(warning).toHaveBeenCalled(); + expect(signMessage(mockedArgumentsObject)).rejects.toThrow(); }); }); });