Replies: 1 comment 2 replies
-
What you could try is wrapping the entire test inside a for-loop and the code of the promise inside an IF-statement. Then at each iteration you should verify if the number of players is equal to the target. If it is, then you pretend to be a Chainlink node and call Now, Hardhat offers aprox 20 accounts, and the |
Beta Was this translation helpful? Give feedback.
2 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.
-
Hi guys, I need some help with the implementation of the test for a variation of the raffle. The raffle is now starting with only if there is x number of participant, when i test this it run into an infinite loop somehow. I have already increase the timeout limit to 1000000 but still nothing work. Can someone help me please?
Beta Was this translation helpful? Give feedback.
All reactions