Lesson 9 Testing fail. Error: Timeout of 500000ms exceeded. #4697
Unanswered
ram1point0
asked this question in
Q&A
Replies: 1 comment
-
should be no comma after raffleEntranceFee
should be txReceipt.events |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have scoured "Discussions" on this error and used many of the solutions documented throughout this discussion forum to no avail. I have also trouble shot and debugged as well and have spent more than a good amount of time seeking the solution myself. Here is the full repo link:
https://github.com/ram1point0/hardhat-smartcontract-lottery-fcc01
Error: Timeout of 500000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
I changed the mohca timeout.
I moved the 'relolve' up above the catch, among many other things. After implementing most of the solutions I found in this forum and getting no success I have reset my code back to where it was pre tinkering and uploaded the repo as it stood when I got to timestamp 16:03 in the course. I even went as far as redoing Lesson 9 to see if it was something I missed along the way and still received the error above.
Thanks in advance for your time and effort
Beta Was this translation helpful? Give feedback.
All reactions