Edit Handling Multiple Promises test case message.
Notes:
I can't find a way to reliably test whether a function is async or not. Apparently there are a few ways to do this such as fn.constructor.name but I think async functions get compiled/transpiled away before our code actually runs against them making an approach like this not work... I couldn't find another way other than just regex'ing the user's code...
This PR:
Notes:
async
or not. Apparently there are a few ways to do this such asfn.constructor.name
but I think async functions get compiled/transpiled away before our code actually runs against them making an approach like this not work... I couldn't find another way other than just regex'ing the user's code...