We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The task name of hardhat-jest-plugin tests is test:test. https://github.com/rryter/hardhat-jest-plugin#tasks
test:test
The task name of tests of solidity-coverage is hard-coded.
solidity-coverage/plugins/hardhat.plugin.js
Line 193 in b641167
When TASK_TEST can be set in config, solidity-coverage can be used in hardhat-jest-plugin.
The text was updated successfully, but these errors were encountered:
Oh, interesting!
You're suggesting an additional option like this?
// .solcover.js hardhatTestTaskName: <string>
Have you tried this locally? Does noCompile also need to be true?
noCompile
true
Sorry, something went wrong.
Yes.
The repository I'm trying is https://github.com/odan-sandbox/erc721-compare-gas-used. When I run yarn hardhat coverage, the test fails with the following error because the test is run using mocha.
yarn hardhat coverage
Error in plugin solidity-coverage: ReferenceError: expect is not defined
No branches or pull requests
The task name of hardhat-jest-plugin tests is
test:test
.https://github.com/rryter/hardhat-jest-plugin#tasks
The task name of tests of solidity-coverage is hard-coded.
solidity-coverage/plugins/hardhat.plugin.js
Line 193 in b641167
When TASK_TEST can be set in config, solidity-coverage can be used in hardhat-jest-plugin.
The text was updated successfully, but these errors were encountered: