One could always make new Promise and resolve inside the function that should be 'wrapped as async', and mock it as such. I don't event think setTimeout is necessary. I look forward to hearing test case elaboration as well. :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.