Raffle fulfilRandomWords unit test: why is the winner always at index 2??? #5326
Unanswered
techybolek
asked this question in
Q&A
Replies: 1 comment
-
@techybolek It is the |
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.
-
in Raffle.test.js the winner picked handler reads:
...
Why is the winner supposed to be at index 2? And how come the test passes with the winner hardcoded to index 2?
Beta Was this translation helpful? Give feedback.
All reactions