Describe the bug
Upgrading to waffle v4 seems not to work.
same setup that works in v3 returns an error "Mock on the method is not initialized" with v4
To Reproduce
use hardhat
mock contract + function
try to call to call contract.mockedFunction()
Software versions
ethereum-waffle 4.04
@nomiclabs/hardhat-ethers 2.2.1
hardhat 2.6.1
- Package manager yarn
- Node version 18