@nomicfoundation/hardhat-chai-matchers
v3.0.0
Published
Hardhat utils for testing
Maintainers
Readme
Hardhat Chai Matchers
This plugin adds Ethereum-specific capabilities to the Chai assertion library, making your smart contract tests easy to write and read.
Version compatibility warning: This version of the package does not work with Hardhat 2 nor 3. Please read below to migrate to Hardhat 3 or install a version compatible with Hardhat 2.
Installation
Hardhat 3
To learn how to migrate to Hardhat 3, please read the migration guide.
Hardhat 2
To use this package with Hardhat 2, please install the hh2 tag with npm or your package manager of choice:
npm install --save-dev "@nomicfoundation/hardhat-chai-matchers@hh2"