I have a function that looks like the following:
const func = () => new Promise((resolve, reject) => asyncFunc() .then(data => a