0

When I tested my contract, I got this error ""before all" hook: prepare suite:"

Does anyone know how to solve this error?

This is my dependencies. "truffle": "5.0.7", "web3": "1.0.0-beta.46"

closed as unclear what you're asking by user19510, alberto, goodvibration, shane, Majd TL Sep 23 at 12:00

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Yes, go to the before part in your test, add a console.log statement after every line and find out which line is causing the problem. – goodvibration Sep 22 at 5:50
0

It solved by updating truffle version.

Not the answer you're looking for? Browse other questions tagged or ask your own question.