diff --git a/test/parallel/test-fs-exists.js b/test/parallel/test-fs-exists.js index aef18ace88a87e..2176be6b35085e 100644 --- a/test/parallel/test-fs-exists.js +++ b/test/parallel/test-fs-exists.js @@ -8,6 +8,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); }));