()
| 46 | } |
| 47 | |
| 48 | reportProgressDone() { |
| 49 | const state = { |
| 50 | ...this.selfState, |
| 51 | done: true, |
| 52 | }; |
| 53 | |
| 54 | if (typeof state.end !== 'undefined') { |
| 55 | if (state.current > state.end) { |
| 56 | state.end = state.current; |
| 57 | } |
| 58 | state.current = state.end; |
| 59 | } |
| 60 | |
| 61 | this.reportProgress(state); |
| 62 | } |
| 63 | |
| 64 | // Tries to determine which is the 'current' job in the tree |
| 65 | // This is very heuristical... we use some hints, like: |
no test coverage detected