I would like to test a contract where I use the approve function of an ERC20 token. Is there any test suite that allows doing that?

truffle? hardhat?

Any suggestion would be highly appreciated!

1 Answer 1


you can use chai with both truffle and hardhat


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.