# @nomicfoundation/hardhat-node-test-runner

## 3.0.17

### Patch Changes

- [#8339](https://github.com/NomicFoundation/hardhat/pull/8339) [`00720e8`](https://github.com/NomicFoundation/hardhat/commit/00720e848ced4601deb300488beda85491dc7733) Thanks [@alcuadrado](https://github.com/alcuadrado)! - The plugin now uses `definePlugin` from `hardhat/plugins` in its `index.ts`, so it participates in Hardhat's new "imported but unused plugin" warning when omitted from a project's `plugins` array.

- Updated dependencies:
  - hardhat@3.8.0
  - @nomicfoundation/hardhat-errors@3.0.15
  - @nomicfoundation/hardhat-node-test-reporter@3.1.0

## 3.0.16

### Patch Changes

- [#8264](https://github.com/NomicFoundation/hardhat/pull/8264) [`8452f97`](https://github.com/NomicFoundation/hardhat/commit/8452f9726205540e1684d3f8458bfd145e790226) Thanks [@alcuadrado](https://github.com/alcuadrado)! - Export `./package.json` so consumers can import the package's manifest.

- Updated dependencies:
  - @nomicfoundation/hardhat-errors@3.0.13
  - @nomicfoundation/hardhat-node-test-reporter@3.0.7
  - @nomicfoundation/hardhat-utils@4.1.2
  - @nomicfoundation/hardhat-zod-utils@3.0.5

## 3.0.15

### Patch Changes

- [#8191](https://github.com/NomicFoundation/hardhat/pull/8191) [`2a4ae8e`](https://github.com/NomicFoundation/hardhat/commit/2a4ae8e7dc78cabbe8b17bec778952f0124f9759) Thanks [@alcuadrado](https://github.com/alcuadrado)! - Update how type extensions are handled to optimize the bootstrap process of Hardhat.

- Updated dependencies:
  - @nomicfoundation/hardhat-utils@4.1.1

## 3.0.14

### Patch Changes

- [#8179](https://github.com/NomicFoundation/hardhat/pull/8179) [`d16d82a`](https://github.com/NomicFoundation/hardhat/commit/d16d82abfd5c9fa044cb508468cd4b50a5fcfd8a) Thanks [@alcuadrado](https://github.com/alcuadrado)! - Await all returned promises for better debuggability

- [#8142](https://github.com/NomicFoundation/hardhat/pull/8142) [`a997091`](https://github.com/NomicFoundation/hardhat/commit/a997091fe104cc4c96abadae8895d8068cff0201) Thanks [@ChristopherDedominici](https://github.com/ChristopherDedominici)! - Make `node:test` sequential by default and run test files in the same process (`isolation: "none"`).

- Updated dependencies:
  - @nomicfoundation/hardhat-node-test-reporter@3.0.5
  - @nomicfoundation/hardhat-utils@4.0.4

## 3.0.13

### Patch Changes

- [#8127](https://github.com/NomicFoundation/hardhat/pull/8127) [`4fe12fe`](https://github.com/NomicFoundation/hardhat/commit/4fe12feefe3b868b6b651a708155c75849988c2d) Thanks [@alcuadrado](https://github.com/alcuadrado)! - Update to the new splitTestsCompilation setting

- [#8096](https://github.com/NomicFoundation/hardhat/pull/8096) [`7fb721b`](https://github.com/NomicFoundation/hardhat/commit/7fb721bb2b1c521d0073a156f361c60a049e8fdf) Thanks [@alcuadrado](https://github.com/alcuadrado)! - [chore] Move to packages/ folder.

- Updated dependencies:
  - hardhat@3.4.0
  - @nomicfoundation/hardhat-errors@3.0.11
  - @nomicfoundation/hardhat-node-test-reporter@3.0.4
  - @nomicfoundation/hardhat-utils@4.0.3
  - @nomicfoundation/hardhat-zod-utils@3.0.4

## 3.0.12

### Patch Changes

- [#8064](https://github.com/NomicFoundation/hardhat/pull/8064) [`392fc38`](https://github.com/NomicFoundation/hardhat/commit/392fc388556e9ec3ca1309db0ffb2ded24439ee2) Thanks [@schaable](https://github.com/schaable)! - Add `--gas-stats-json <path>` global option to write gas usage statistics to a JSON file ([#7990](https://github.com/NomicFoundation/hardhat/issues/7990)).

- Updated dependencies:
  - hardhat@3.2.0
  - @nomicfoundation/hardhat-errors@3.0.9

## 3.0.11

### Patch Changes

- 01b41ee: Added support for function gas snapshots and snapshot cheatcodes in Solidity tests with `--snapshot` and `--snapshot-check` flags ([#7769](https://github.com/NomicFoundation/hardhat/issues/7769))
- e37f96c: Add `TestRunResult` type that wraps `TestSummary`, allowing plugins to extend test results with additional data

## 3.0.10

### Patch Changes

- 4ff11c1: Return typed `Result` from test runners and telemetry tasks ([#8015](https://github.com/NomicFoundation/hardhat/pull/8015)).
- 2cbf218: Add `onTestRunStart`, `onTestWorkerDone`, and `onTestRunDone` test hooks ([#8001](https://github.com/NomicFoundation/hardhat/pull/8001))

## 3.0.9

### Patch Changes

- 6674b00: Bump `hardhat-utils` major

## 3.0.8

### Patch Changes

- 7697451: Test summaries are now merged when running multiple test tasks ([#7053](https://github.com/NomicFoundation/hardhat/issues/7053))

## 3.0.7

### Patch Changes

- 147f8a6: Improved the look and feel of compilation output ([#7669](https://github.com/NomicFoundation/hardhat/pull/7669))

## 3.0.6

### Patch Changes

- 558ac5b: Update installation and config instructions

## 3.0.5

### Patch Changes

- d1969e7: Added support for showing gas statistics after running nodejs tests ([#7472](https://github.com/NomicFoundation/hardhat/issues/7428)).
- 5e64246: Improved JS/TS test tasks to not compile Solidity tests ([#7626](https://github.com/NomicFoundation/hardhat/pull/7626))

## 3.0.4

### Patch Changes

- 0ee442d: All test runners now set NODE_ENV to "test" in case it is not set before the tests start ([#7511](https://github.com/NomicFoundation/hardhat/issues/7511))

## 3.0.3

### Patch Changes

- 49cc9ba: Load resolved global options into environment variables during tests ([#7305](https://github.com/NomicFoundation/hardhat/pull/7305))

## 3.0.2

### Patch Changes

- 2d6aadd: Updated the node.js test runner to run tests in parallel by default ([#7311](https://github.com/NomicFoundation/hardhat/issues/7311))

## 3.0.1

### Patch Changes

- d45d544: Fixed passing global network options to node:test and mocha subprocesses ([#7248](https://github.com/NomicFoundation/hardhat/issues/7248))

## 3.0.0

### Major Changes

- 29cc141: First release of Hardhat 3!
