(name)
| 25 | } |
| 26 | |
| 27 | removeRun(name) { |
| 28 | this.runs.forEach((run, index) => { |
| 29 | if (run.getName() === name) { |
| 30 | delete this.runs[index]; |
| 31 | return true; |
| 32 | } |
| 33 | }); |
| 34 | |
| 35 | // Remove empty items |
| 36 | this.runs = this.runs.filter(r => !!r); |
| 37 | |
| 38 | return false; |
| 39 | } |
| 40 | |
| 41 | getRuns() { |
| 42 | return this.runs; |
no test coverage detected