()
| 16 | // ============================================================================= |
| 17 | |
| 18 | async function testBasicShare() { |
| 19 | const shared = share(from('hello shared')); |
| 20 | |
| 21 | const consumer = shared.pull(); |
| 22 | const data = await text(consumer); |
| 23 | assert.strictEqual(data, 'hello shared'); |
| 24 | } |
| 25 | |
| 26 | async function testShareMultipleConsumers() { |
| 27 | async function* gen() { |
no test coverage detected
searching dependent graphs…