smartcontractkit / full-blockchain-solidity-course-js

Learn Blockchain, Solidity, and Full Stack Web3 Development with Javascript
12.25k stars 2.94k forks source link

Timeout of 40000ms exceeded. For async tests and hooks, ensure "done()" is called #4778

Open hashim715 opened 1 year ago

hashim715 commented 1 year ago

I am receiving this error again and again even after including mocha: { timeout: 500000, // 500 seconds max for running tests }

ZhangBin-Rs commented 1 year ago

根据我的经验: 缺少await关键字

alymurtazamemon commented 1 year ago

@hashim715 Hey, This is not a course-related issue instead it is a command issue people face while writing tests. Please close this issue and come to the discussions tab where many contributors are active to help. Thank you.