Skip to content

hardhat-gas-reporter doesnt work on npx hardhat test  #150

@web3dopamine

Description

@web3dopamine

I tried running hardhat-gas-reporter in hardhat default template it doesn't work with npx hardhat test, we have to use flag REPORT_GAS=true then only it will run contract which has test script written.

image
image

NFT.sol contract report is not generated (at all) in none of the cases.

image

tried on node version 16 & 17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions