New answers tagged chai
0
votes
TypeError: Cannot read properties of undefined (reading 'checkUpkeep')
Ethers v6 comes with some major changes to their syntax, <contract>.staticCall.<function> is the way for v5, but the syntax for v6 looks like this:
For example:
it("Should transfer ...
0
votes
Accepted
All my Assert.isTrue testing seems to be passing, im a bit skeptical about how efficient it's to test with asert.isTrue and assert.isFalse
It does not look like a question.
I can tell you forge tests with assertTrue works. Please share your code if you want some help.
Top 50 recent answers are included
Related Tags
chai × 93hardhat × 66
solidity × 51
testing × 30
mocha × 23
ethers.js × 12
unittesting × 10
test × 9
javascript × 8
hardhat-deploy × 7
blockchain × 5
waffle × 5
truffle × 4
ether × 4
bignumber × 4
erc-20 × 3
events × 3
openzeppelin × 3
go-ethereum × 2
web3js × 2
truffle-test × 2
solidity-0.8.x × 2
typescript × 2
assert × 2
contract-development × 1