(testFn: Function)
| 28 | }; |
| 29 | |
| 30 | function testFnWithLoggedTransitionTo(testFn: Function) { |
| 31 | return function (this: unknown) { |
| 32 | detectTask.constructor.prototype._transitionTo = logTransitionTo; |
| 33 | testFn.apply(this, arguments); |
| 34 | detectTask.constructor.prototype._transitionTo = originalTransitionTo; |
| 35 | }; |
| 36 | } |
| 37 | |
| 38 | describe('task lifecycle', () => { |
| 39 | describe('event task lifecycle', () => { |
no test coverage detected
searching dependent graphs…