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

enable hardhat coverage #12

Open
mshakeg opened this issue Sep 7, 2023 · 0 comments
Open

enable hardhat coverage #12

mshakeg opened this issue Sep 7, 2023 · 0 comments

Comments

@mshakeg
Copy link

mshakeg commented Sep 7, 2023

It would be good to enable hardhat coverage in this template repo as a PoC.

I just went through the exercise on a project utilising this template and had to do the following to get hardhat coverage to work:

  1. install and import @nomicfoundation/hardhat-toolbox in hardhat.config.ts
  2. Install all the external libs/pkgs in ./lib using your project's node package manager(i.e. yarn, npm or pnpm) and ensure that these packages are now visible in the package.json and node_modules
  3. before running hardhat coverage you'll first have to comment out the preprocess config in the HardhatUserConfig to disable it
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

1 participant