:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
[✔️] I've asked for help in the Truffle Gitter before filing this issue.
Issue
When run truffle run coverage, the expectRevert command results in a failure. Now if triggered by truffle test, there is no failure in expectRevert's execution.
Issue
When run
truffle run coverage
, theexpectRevert
command results in a failure. Now if triggered bytruffle test
, there is no failure inexpectRevert
's execution.Steps to Reproduce
Expected Behavior
All tests should pass regardless if triggered by
yarn coverage
oryarn test
Actual Results
This situation is evidenced in the following GitHub actions run
Environment
truffle version
): 5.3.6node --version
): 10.x and 12.xnpm --version
): 7.13.0