()
| 9 | } |
| 10 | |
| 11 | function oneTo5Async() { |
| 12 | return oneTo5().map(async (x) => { |
| 13 | await Promise.resolve(); |
| 14 | return x; |
| 15 | }); |
| 16 | } |
| 17 | { |
| 18 | // Some, find, and every work with a synchronous stream and predicate |
| 19 | assert.strictEqual(await oneTo5().some((x) => x > 3), true); |
no test coverage detected