How To Solve “Error: Timeout of 40000ms exceeded” in Solidity
…For async tests and hooks, ensure “done()” is called
Published in
1 min readFeb 27, 2023
Error: Timeout of 40000ms exceeded. For async tests and hooks, ensure "done()"
is called; if returning a Promise, ensure it resolves.
The above error happens when:
- Chai has timed out.