Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@nomicfoundations/hardhat-config

Recommended bundle of Hardhat plugins (ethers based)

ethereum, smart-contracts, hardhat, hardhat-config, hardhat-ethers

readme

Nomicfoundation Hardhat Config

Running tests

To run the tests, follow these steps. You must have at least node v10 and yarn installed.

First clone the repository:

git clone https://github.com/nomicfoundations/hardhat/tree/main/packages/hardhat-config.git

Move into the hardhat-config working directory

cd hardhat-config/

Install dependencies

yarn install

Run tests

yarn test

You should see output like the following:

yarn run v1.22.19
$ tsdx test
 PASS  test/fraction.test.ts
 PASS  test/constants.test.ts
 PASS  test/token.test.ts

Test Suites: 1 skipped, 3 passed, 3 of 4 total
Tests:       3 skipped, 20 passed, 23 total
Snapshots:   0 total
Time:        0.869s, estimated 1s
Ran all test suites.
Done in 1.48s.