This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
Releases: rkalis/truffle-assertions
Releases · rkalis/truffle-assertions
v0.6.2
v0.6.1
v0.6.0
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.
v0.4.0
- ✨ Added
truffleAssert.createTransactionResult()
to help with asserting emitted events without direct access to a transaction result. - 📚 Added documentation for
truffleAssert.createTransactionResult()
. - ➖ Removed dependency on Lodash and replaced with native JS functionality.
- ➕ Added dependency on Web3 to create transaction results.
- 🔨 Changed internal API.
v0.3.1
v0.3.0
test/
folder to npm, increasing package size - don't use this version
- ✨ Added
truffleAssert.prettyPrintEmittedEvents()
to show all events that were emitted in a transaction. - 🔨 Added these pretty printed events to default assertion error message.
- 📚 Added documentation for
truffleAssert.prettyPrintEmittedEvents()
.