(self, fn)
| 23 | const blocked = fn => () => expect(fn).to.throw(TypeError); |
| 24 | const normally = fn => fn(); |
| 25 | const whileIterating = (self, fn) => { |
| 26 | let count = 0; |
| 27 | for (const _ of self.iterator.iterate()) { count += 1; fn(); } |
| 28 | expect(count).to.equal(5); |
| 29 | }; |
| 30 | const whileBusy = (self, fn) => { |
| 31 | let count = 0; |
| 32 | self.useFunc(() => { count += 1; fn(); }); |
no test coverage detected
searching dependent graphs…