master test: refactor test to use async/await

Refactor threadsafe_function test with async/await

PR-URL: https://github.com/nodejs/node-addon-api/pull/787
Reviewed-By: Kevin Eady <kevin.c.eady@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>

Velmisov authored Michael Dawson committed

Push event #3 passed

  • Ran for
  • Total time