Closed 3cp closed 3 years ago
I was planning to use this branch to implement fs.opendir, but it seems Nodejs would not open up access to internal binding fs_dir https://github.com/nodejs/node/issues/37746#issuecomment-798809618
fs_dir
This PR fixes mockfs.bypass support of Promise on old Nodejs versions where Promise.prototype.finally is not available. Also cleaned up the tests.
Looks good to me. Thanks, @3cp.
I was planning to use this branch to implement fs.opendir, but it seems Nodejs would not open up access to internal binding
fs_dir
https://github.com/nodejs/node/issues/37746#issuecomment-798809618This PR fixes mockfs.bypass support of Promise on old Nodejs versions where Promise.prototype.finally is not available. Also cleaned up the tests.