NomicFoundation / hardhat

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software.
https://hardhat.org
Other
7.22k stars 1.38k forks source link

Add `hardhat-test-utils` package #5492

Closed alcuadrado closed 3 months ago

alcuadrado commented 3 months ago

This PR introduces a new private package, @nomicfoundation/hardhat-test-utils, and installs it in all the v-next packages that are compatible with it (i.e. not dendencies of it).

This PR only introduces helpers for HardhatError related assertions, but it doesn't change any existing test.

A follow-up PR will change the existing tests to use the new utilities.

changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: bdf581a16f0b82c3f06ecc8d8ddd6f5c97ef5f3f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hardhat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 8, 2024 7:25pm