You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
success
(node:6292) UnhandledPromiseRejectionWarning: Error: ENOENT, UV_ENOENT '\\?\C:\Users\Username\Dir\mocfsTest\doesNotExist'
at Object.<anonymous> (C:\Users\Username\Dir\mocfsTest\node_modules\mock-fs\lib\binding.js:1435:13)
at maybeCallback (C:\Users\Username\Dir\mocfsTest\node_modules\mock-fs\lib\binding.js:57:18)
at Object.Binding.access (C:\Users\Username\Dir\mocfsTest\node_modules\mock-fs\lib\binding.js:1423:3)
at Object.<anonymous> (C:\Users\Username\Dir\mocfsTest\node_modules\mock-fs\lib\index.js:33:39)
at Object.access (internal/fs/promises.js:188:18)
at test (C:\Users\Username\Dir\mocfsTest\index.js:8:14)
at Object.<anonymous> (C:\Users\Username\Dir\mocfsTest\index.js:12:1)
at Module._compile (internal/modules/cjs/loader.js:956:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:973:10)
at Module.load (internal/modules/cjs/loader.js:812:32)
The text was updated successfully, but these errors were encountered:
Promise returned by fs.promises.access is not rejected when it should be.
Code to reproduce (4.10.3):
Output:
The text was updated successfully, but these errors were encountered: