Lesson 9 | Raffle.test.js #6285
Unanswered
ghastlypale
asked this question in
Q&A
Replies: 1 comment
-
Error: Timeout of 400000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
Hope this will help. |
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.
-
Error:
The part of the code that generates the error:
When I run this test, I get a very long wait and then an error.
What's weird is that when I remove the new Promise keyword, the test passes.
I am using ethers and chainlink(what we imported in Raffle.sol) latest version.
Could you please help to solve this problem.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions