Itsjonie
  • Member for 1 year
  • Last seen this week
Truffle Test AssertionError: error message must contain revert
0 votes

I had the same problem, I found the solution on Github. Basically, you need to delete indexOf() function after error.message so it should look like this assert(error.message, 'error message must ...

View answer