()
| 6 | const { pullSync, fromSync, bytesSync, tapSync } = require('stream/iter'); |
| 7 | |
| 8 | function testPullSyncIdentity() { |
| 9 | // No transforms - just pass through |
| 10 | const data = bytesSync(pullSync(fromSync('hello'))); |
| 11 | assert.deepStrictEqual(data, new TextEncoder().encode('hello')); |
| 12 | } |
| 13 | |
| 14 | function testPullSyncStatelessTransform() { |
| 15 | const upper = (chunks) => { |
no test coverage detected
searching dependent graphs…