Skip to content

Lesson 9: AssertionError: expected undefined to equal false #3192

Answered by RoboCrypter
Codeinor asked this question in Q&A
Discussion options

You must be logged in to vote

@Codeinor : Correct your spelling of upkeepNeeded :

From : upKeepNeeded To : upkeepNeeded

In this line of your test :

  • From this : const { upKeepNeeded } = await raffle.callStatic.checkUpkeep([])

  • To this : const { upkeepNeeded } = await raffle.callStatic.checkUpkeep([])

It should resolve your issue!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Codeinor
Comment options

Comment options

You must be logged in to vote
1 reply
@Codeinor
Comment options

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