Closed Ahmedborwin closed 1 year ago
Hmmm perhaps your contract isn't being deployed correctly. Could you clone this repo and see if you're still getting the error?
Hi Patrick,
It's strange because the {upkeepNeeded} is set to true when the checkUpkeep tests all pass. If they fail though rather than setting upkeepNeeded = false, it's undefined. When i realised i could pass the tests by using !upkeepNeeded I ended up moving on with the course. Thank you for responding Patrick