Skip to content

Commit

Permalink
Update test-contracts.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ebulku authored Dec 1, 2024
1 parent 0ea1fd5 commit bfbb485
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 using PowerShell 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 bfbb485

Please sign in to comment.