Lesson 9 Error: Timeout of 20000ms exceeded. #2162
-
Error on the last unit test. Link to the repo : https://github.com/SidharthK2/hh-lottery |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 13 replies
-
Try and increase the mocha timeout value to 500000 in your hardhat.config.js |
Beta Was this translation helpful? Give feedback.
-
This has been common lately, and the main reason for this has been Rinkeby. Let me know if this persists on Rinkeby. Also, I made a PR. |
Beta Was this translation helpful? Give feedback.
-
@SidharthK2 @krakxn has made PR, check does it solve your issue, otherwise, let us know. |
Beta Was this translation helpful? Give feedback.
-
Hey @SidharthK2 use I've made a PR |
Beta Was this translation helpful? Give feedback.
Hey @SidharthK2 use
WinnerPicked
on line 167 in your Raffle.test.js. You are waiting for an event namedwinnerPicked
to be emitted which doesn't exist.I've made a PR