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

Function testPullIdentity

test/parallel/test-stream-iter-pull-async.js:8–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6const { pull, from, text, tap } = require('stream/iter');
7
8async function testPullIdentity() {
9 const data = await text(pull(from('hello-async')));
10 assert.strictEqual(data, 'hello-async');
11}
12
13async function testPullStatelessTransform() {
14 const upper = (chunks) => {

Callers 1

Calls 3

pullFunction · 0.70
textFunction · 0.50
fromFunction · 0.50

Tested by

no test coverage detected