Skip to content

Lesson 9: One Unit Test Failing (Doesn't allow entering raffle when Calculating) #3545

Answered by RoboCrypter
manan-bedi2908 asked this question in Q&A
Discussion options

You must be logged in to vote

@manan-bedi2908 : It should me request not send :

Correct this line in your test from this : await network.provider.send({ method: "evm_mine", params: [] })

To this : await network.provider.request({ method: "evm_mine", params: [] })

Let me know, If the issue persists..

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by alymurtazamemon
Comment options

You must be logged in to vote
2 replies
@Arun-chaitanya
Comment options

@cryptocambi
Comment options

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