Skip to content

Commit cb1d16d

Browse files
NigelKibodeauxMylesBorins
authored andcommitted
test: increase fs.exists coverage
PR-URL: #15963 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent d3981ae commit cb1d16d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-fs-exists.js

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ fs.exists(f, common.mustCall(function(y) {
88
assert.strictEqual(y, true);
99
}));
1010

11+
assert.doesNotThrow(() => fs.exists(f));
12+
1113
fs.exists(`${f}-NO`, common.mustCall(function(y) {
1214
assert.strictEqual(y, false);
1315
}));

0 commit comments

Comments
 (0)