dappuniversity / election

A Decentralized Ethereum Voting Application Tutorial
563 stars 506 forks source link

Trying to convert the callback tests to async #62

Open gerardyyy opened 2 years ago

gerardyyy commented 2 years ago

The code above is what i wrote to convert the tests to be asynchronous, however, my test is not passing. The code below is from the lecture and it works, so the mistake could not be in my smart contract or test environment. Is anyone able to spot the issue from my async test?

image