Closed
Description
I have an example of tests passing (can't publish at the moment) with require.resolve
and with resolve
as a callback, but when I wrap resolve in const resolveAsync = Promise.promisify(resolve)
for some reason the tests that worked are failing. I've also implemented my own wrapped promise and some of tests pass, and others fail, specifically cases where there's a package.json
resolve.
Any ideas why this package is un-promisify-able, and potential ways around it?
Metadata
Metadata
Assignees
Labels
No labels