Skip to content

Commit

Permalink
Update test-contracts.md (#6008)
Browse files Browse the repository at this point in the history
* Update test-contracts.md

* Update docs/src/content/hardhat-runner/docs/guides/test-contracts.md

---------

Co-authored-by: John Kane <[email protected]>
  • Loading branch information
ebulku and kanej authored Dec 2, 2024
1 parent 7306d69 commit cf6b9a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/content/hardhat-runner/docs/guides/test-contracts.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,12 @@ The Hardhat Toolbox also includes the [`hardhat-gas-reporter`](https://github.co
REPORT_GAS=true npx hardhat test
```

For Windows users, set the environment variable for the PowerShell session with `$env:REPORT_GAS="true"`:

```
$env:REPORT_GAS="true"; npx hardhat test
```

### Running tests in parallel

You can run your tests in parallel by using the `--parallel` flag:
Expand Down

0 comments on commit cf6b9a3

Please sign in to comment.