MCPcopy Index your code
hub / github.com/nodejs/node / test_simple_error_callback

Function test_simple_error_callback

test/parallel/test-fs-realpath.js:87–93  ·  view source on GitHub ↗
(realpath, realpathSync, cb)

Source from the content-addressed store, hash-verified

85
86// sub-tests:
87function test_simple_error_callback(realpath, realpathSync, cb) {
88 realpath('/this/path/does/not/exist', common.mustCall(function(err, s) {
89 assert(err);
90 assert(!s);
91 cb();
92 }));
93}
94
95function test_simple_error_cb_with_null_options(realpath, realpathSync, cb) {
96 realpath('/this/path/does/not/exist', null, common.mustCall(function(err, s) {

Callers

nothing calls this directly

Calls 3

realpathFunction · 0.70
cbFunction · 0.70
assertFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…