JoinColony / purser

Interact with Ethereum wallets easily
https://joincolony.github.io/purser
MIT License
84 stars 21 forks source link

Fix Metamask unit tests improperly mocked web3 global object #299

Closed rdig closed 4 years ago

rdig commented 4 years ago

This is a simple PR that properly mocks the web3 global object, inside the purser-metamask signTransaction unit test, to include all the methods required, even those that are being called internally.