You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to Python's Mock class here. I can't figure out how to do this with Waffle.
For example, I want to mock a UniswapV2Pair to force removeLiquidity to have different behaviors. This is easy with mocks. However, it also needs to transfer tokens to the calling contract. This is a side-effect caused when removing liquidity.
The text was updated successfully, but these errors were encountered:
Similar to Python's Mock class here. I can't figure out how to do this with Waffle.
For example, I want to mock a UniswapV2Pair to force removeLiquidity to have different behaviors. This is easy with mocks. However, it also needs to transfer tokens to the calling contract. This is a side-effect caused when removing liquidity.
The text was updated successfully, but these errors were encountered: