Closed ravali-rimmalapudi closed 2 years ago
Mockfs v5 dropped nodejs v10 support (as v10 is end of life). You can use previous major version mockfs v4 if you still need to use nodejs v10.
If that's the case it'd probably be good to put an engines
field in the package.json
so an error will be issued during npm install
to indicate it's no longer compatible. Just hit this myself (because Azure DevOps tasks execute in Node 10 so I'm stuck on Node 10 for that job) and this wasn't obvious.
Closed by #337
I am using mock-fs for my test cases in Mocha. This is my configuration:
While running test cases with node version 10.x test cases are failing with
and with node version 14.x it is working fine. What I need to do to work with node 10.x?