Lesson 9: Error: Timeout of 200000ms exceeded. For async tests... #633
-
I am getting this error whenever I run my test. This happens for the big Here is the error: I tried increasing the time to 4mins, it still doesn't work. I also added a compiler of version Here is the code snippet for the area.
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 9 replies
-
park i have the same problem to |
Beta Was this translation helpful? Give feedback.
-
I got the same problem too! |
Beta Was this translation helpful? Give feedback.
-
I was able to solve the unit test timeout error by rewriting the code. But I'm facing the error in my staging test |
Beta Was this translation helpful? Give feedback.
-
This is due to chainlink vrf or keepers code not formatted correctly. Can you follow the troubleshooting here: https://github.com/smartcontractkit/full-blockchain-solidity-course-js/blob/main/chronological-updates.md#keepers-not-kicking-off-troubleshooting |
Beta Was this translation helpful? Give feedback.
-
Anyone know why I'm getting this error when running: yarn hardhat test Here is my code: Raffle.staging.test.js
Raffle.test.js
helper.config.js :
Anyone could help? Thanks |
Beta Was this translation helpful? Give feedback.
-
Facing the same problem.
Not sure, how to checkUpkeep returning true? Should we write test in staging for it? |
Beta Was this translation helpful? Give feedback.
This is due to chainlink vrf or keepers code not formatted correctly.
Can you follow the troubleshooting here: https://github.com/smartcontractkit/full-blockchain-solidity-course-js/blob/main/chronological-updates.md#keepers-not-kicking-off-troubleshooting