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

Function testPullSyncEmptySource

test/parallel/test-stream-iter-pull-sync.js:74–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73// PullSync with empty source
74function testPullSyncEmptySource() {
75 function* empty() {}
76 const result = bytesSync(pullSync(empty()));
77 assert.strictEqual(result.length, 0);
78}
79
80// TapSync callback error propagates
81function testTapSyncCallbackError() {

Callers 1

Calls 3

bytesSyncFunction · 0.85
pullSyncFunction · 0.85
emptyFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…