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

Function testBytesSyncStringSource

test/parallel/test-stream-iter-consumers-bytes.js:189–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187}
188
189function testBytesSyncStringSource() {
190 const result = bytesSync('hello-sync');
191 assert.strictEqual(new TextDecoder().decode(result), 'hello-sync');
192}
193
194async function testTextStringSource() {
195 const { text } = require('stream/iter');

Calls 2

bytesSyncFunction · 0.85
decodeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…