Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failing: terminal reports back "error in plugin solidity-coverage" #655

Closed
KingsleyAgyemang opened this issue Aug 20, 2021 · 4 comments

Comments

@KingsleyAgyemang
Copy link

Have been attempting some exercises from chainlink's recent smart contracts bootcamp. When checking the solidity coverage I'm getting the following final message: "Error in plugin solidity-coverage: ❌ 3 test(s) failed under coverage".

I was directed to Github for answers so hoping you guys can help.

coverage exercise

solidity coverage error

@cgewecke
Copy link
Member

This is probably due to #652 which has a work-around documented in this comment (and below)

@KingsleyAgyemang
Copy link
Author

Running successfully now :). Thanks very much

@Bhupesh-98
Copy link

npx hardhat coverage --testfiles "test/gie-token-test.js" --network rinkeby

The above command gives error : Error in plugin solidity-coverage: TypeError [ERR_INVALID_URL]: Invalid URL

@satishnvrn
Copy link

npx hardhat coverage --testfiles "test/gie-token-test.js" --network rinkeby

The above command gives error : Error in plugin solidity-coverage: TypeError [ERR_INVALID_URL]: Invalid URL

Getting the same error with sepolia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants