This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
v0.5.0
- ✨ Added
truffleAssert.fails()
function to assert that a contract method fails with a passed ErrorType. - ✨ Added
truffleAssert.reverts()
function, which is a convenience alias forfails()
but with ErrorType.REVERT. - 📚 Added documentation for
fails()
andreverts()
. - 📚 Cleared up which parameters are optional.