I'm doing truffle tutorial the pet-shop-tutorial but when I typed truffle test in cmd, I got the error. Here is the error message.enter image description here I have no idea how I can fix it and where should I check. Please help me and if you need to see some code or anything else, please let me know.

  • which truffle and solc version do you have, are you using Ganache=? – Majd TL Feb 24 at 11:22
  • before all hook means that you have a problem in one of the before or beforeEach clauses in your test. Since you haven't posted your test, it is rather difficult to answer your question with more details. Please do that, and please post everything in plaintext (no links or images). – goodvibration Feb 24 at 12:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.