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?
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?