Skip to content

Latest commit

 

History

History
executable file
·
21 lines (14 loc) · 421 Bytes

README.md

File metadata and controls

executable file
·
21 lines (14 loc) · 421 Bytes

Contract Unit Tests

Unit tests are based on Hardhat's version of the Chai assertion library. Each contract has its own testing script.

Run all tests:

npx hardhat test

or from the contracts directory run

yarn test

Only run tests in a given file:

npx hardhat test test/consent.js