Skip to content

Lesson 9: unit test - how do you know the expect winner is accounts[2] if it is truly random #1818

Answered by alymurtazamemon
TonyLiVan asked this question in Q&A
Discussion options

You must be logged in to vote

@jameslivancouver In the local development, it will always return the same winner index.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TonyLiVan
Comment options

Answer selected by TonyLiVan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants