tschaub / mock-fs

Configurable mock for the fs module
https://npmjs.org/package/mock-fs
Other
911 stars 86 forks source link

Ignore errors in fs.exists #401

Closed tschaub closed 4 weeks ago

tschaub commented 4 weeks ago

Node's fs.exists() never throws. And the fs.existsSync() is called with false on any errors.

Fixes #400.