Skip to content

Chapter 7: Error: Timeout of 40000ms exceeded. For async tests and hooks, ensure "done()" is called #5799

Closed Answered by b0nesss
b0nesss asked this question in Q&A
Discussion options

You must be logged in to vote

nvm got it
There was actually some error in deploy part where I had fixed no. of block confirmations as 6 for both localhost and sepolia and I didn't deploy in localhost during that part so never got this error. But in testing it was waiting for 6 block confirmations in localhost which won't happen and hence those timeouts.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@b0nesss
Comment options

@b0nesss
Comment options

Answer selected by b0nesss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants