LimeChain / etherlime

Dapp Development framework based on ethers.js
MIT License
185 stars 41 forks source link

Incorrect overload for function called when running test coverage #315

Open elenadimitrova opened 4 years ago

elenadimitrova commented 4 years ago

We have the RegistryModule contract and its isRegisteredModule function here which is being tested here.

When running code coverage the incorrect overload for that function is used, which expects an array or addresses, rather than a single address to be passed in. Sample failing build here

Behaviour as to which overload is selected to run differs between CI and Coverage environments as when running normal unit tests this runs correctly.

ochikov commented 4 years ago

Thanks for the issue. We are going to investigate it.