To promote proper error testing, discard testFails which is unsafe because it doesn't distinguish errors (so an assertion failure in the testing code is as successful as a validation error). All failure testing functions must be provided a predicate to check the error returned by the blockchain.
To promote proper error testing, discard
testFails
which is unsafe because it doesn't distinguish errors (so an assertion failure in the testing code is as successful as a validation error). All failure testing functions must be provided a predicate to check the error returned by the blockchain.