()
| 393 | // ============================================================================= |
| 394 | |
| 395 | async function testBasicSync() { |
| 396 | const source = fromSync('sync hello'); |
| 397 | const readable = toReadableSync(source); |
| 398 | |
| 399 | assert.strictEqual(readable.readableObjectMode, false); |
| 400 | |
| 401 | const result = await collect(readable); |
| 402 | assert.strictEqual(result.toString(), 'sync hello'); |
| 403 | } |
| 404 | |
| 405 | // ============================================================================= |
| 406 | // fromStreamIterSync: synchronous read() returns data immediately |
no test coverage detected