Skip to content

Lesson 9 timeout error for the last unit test #1921

Answered by othaime-en
yash-2138 asked this question in Q&A
Discussion options

You must be logged in to vote

change tx.recipt.events[1].args.requestId in the last line to txReceipt.events[1].args.requestId
Also add this line const winnerStartingBalance = await accounts[1].getBalance() above the line const tx = await raffle.performUpkeep([])

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@yash-2138
Comment options

@othaime-en
Comment options

@othaime-en
Comment options

@yash-2138
Comment options

@othaime-en
Comment options

Answer selected by yash-2138
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