defi-wonderland / smock

The Solidity mocking library
MIT License
319 stars 40 forks source link

fix: have connect function return mock factory #67

Closed smartcontracts closed 3 years ago

smartcontracts commented 3 years ago

Description Minor update to the MockContractFactory type to guarantee that .connect will return a MockContractFactory type.

Metadata

0xGorilla commented 3 years ago

I don't think this works because it is not just a typings issue, can you add a test that verifies that this works?