Raffle.test.js / unit test #1100
Unanswered
czilauto0r1
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@czilauto0r1 Are you returning |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, again I have problem with test this is my code:
this is console log:

its saying expected undefined to be false, so from that what I understand its mean upkeepNeeded is not defined?
when I change to
assert.equal(raffleState.toString() == "1", upkeepNeeded == false)
then is showing that upkeepNeeded is true but its exactly same code, how I can fix that?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions