Skip to content

Error: Timeout of 500000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. #5050

Answered by paulcoffee85
deepak2301 asked this question in Q&A
Discussion options

You must be logged in to vote

After // entering the raffle at bottom: (and enterRaffle is misspelled )
Change:
await raffle.enterraffle({ value: raffleEntryFee })
TO:
const tx = await raffle.enterRaffle({value: raffleEntranceFee})

ADD:
await tx.wait(1)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@deepak2301
Comment options

@highHumann
Comment options

@AKIN-THOMAS
Comment options

Answer selected by deepak2301
Comment options

You must be logged in to vote
0 replies
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