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

Function test_root

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

Source from the content-addressed store, hash-verified

544}
545
546function test_root(realpath, realpathSync, cb) {
547 assertEqualPath(root, realpathSync('/'));
548 realpath('/', common.mustSucceed((result) => {
549 assertEqualPath(root, result);
550 cb();
551 }));
552}
553
554function test_root_with_null_options(realpath, realpathSync, cb) {
555 realpath('/', null, common.mustSucceed((result) => {

Callers

nothing calls this directly

Calls 3

realpathFunction · 0.70
cbFunction · 0.70
realpathSyncFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…