Lesson 9: unit test - how do you know the expect winner is accounts[2] if it is truly random #1818
-
it("picks a winner, resets, and sends money", async () => {
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@jameslivancouver In the local development, it will always return the same winner index. |
Beta Was this translation helpful? Give feedback.
@jameslivancouver In the local development, it will always return the same winner index.