()
| 220 | async () => { |
| 221 | try { |
| 222 | const makeIterator = () => { |
| 223 | let count = 0; |
| 224 | return { |
| 225 | next: () => { |
| 226 | if (count > 2) { |
| 227 | throw new Error('propagate me!'); |
| 228 | } |
| 229 | return {value: count++, done: false}; |
| 230 | } |
| 231 | }; |
| 232 | }; |
| 233 | const a = tfd.generator(makeIterator); |
| 234 | const b = tfd.array([3, 4, 5, 6]); |
| 235 | // Using toArray() rather than toArrayForTest(). The prefetch in |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…