diff --git a/test/parallel/test-fs-exists.js b/test/parallel/test-fs-exists.js index b19aa387741a70..331c8c04e38e78 100644 --- a/test/parallel/test-fs-exists.js +++ b/test/parallel/test-fs-exists.js @@ -30,6 +30,8 @@ fs.exists(f, common.mustCall(function(y) { assert.strictEqual(y, true); })); +assert.doesNotThrow(() => fs.exists(f)); + fs.exists(`${f}-NO`, common.mustCall(function(y) { assert.strictEqual(y, false); }));