Skip to main content
added 98 characters in body
Source Link
Itsjonie
  • 259
  • 2
  • 4
  • 11

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

assert(error.message, 'error message must contain revert');

Here is your answer: https://github.com/dappuniversity/token_sale/issues/27

I had the same problem, I found the solution on Github. h=Here is your answer: https://github.com/dappuniversity/token_sale/issues/27

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 contain revert');

Here is your answer: https://github.com/dappuniversity/token_sale/issues/27

Source Link
Itsjonie
  • 259
  • 2
  • 4
  • 11

I had the same problem, I found the solution on Github. h=Here is your answer: https://github.com/dappuniversity/token_sale/issues/27