Lesson 9: "records players when they enter" doesnt work when all the tests are ran at once, but works when ran individually #5147
-
Please, explain to me why player is not getting added to the address array when all the tests are run at once, and then getting added when the test is run individually. |
Beta Was this translation helpful? Give feedback.
Answered by
paulcoffee85
Mar 22, 2023
Replies: 1 comment
-
try: ( adding await ) because it's moving to next line without waiting for results |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
thedreader
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
try: ( adding await ) because it's moving to next line without waiting for results
await raffle.enterRaffle({value: raffleEntranceFee})