Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4f47e2d

Browse filesBrowse files
NigelKibodeauxgibfahn
authored andcommitted
test: increase fs.exists coverage
PR-URL: #15963 Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 01058c4 commit 4f47e2d
Copy full SHA for 4f47e2d

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-fs-exists.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-fs-exists.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ fs.exists(f, common.mustCall(function(y) {
3030
assert.strictEqual(y, true);
3131
}));
3232

33+
assert.doesNotThrow(() => fs.exists(f));
34+
3335
fs.exists(`${f}-NO`, common.mustCall(function(y) {
3436
assert.strictEqual(y, false);
3537
}));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.