()
| 40 | } |
| 41 | |
| 42 | function createTree() { |
| 43 | const runner = new TaskRunner(); |
| 44 | const parent = runner.createQueue(); |
| 45 | const childA = runner.createQueue(parent); |
| 46 | const childB = runner.createQueue(parent); |
| 47 | return {runner, parent, childA, childB}; |
| 48 | } |
| 49 | |
| 50 | describe('TaskRunner', () => { |
| 51 | describe('cancellation', () => { |
no test coverage detected