npm.io
3.0.0 • Published 7 months ago

@nomicfoundation/hardhat-chai-matchers

Licence
MIT
Version
3.0.0
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
8.5K

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"

Keywords