(testPath: string, config: Config.ProjectConfig)
| 39 | } |
| 40 | |
| 41 | add(testPath: string, config: Config.ProjectConfig) { |
| 42 | const index = this._array.indexOf(null); |
| 43 | const record = {config, testPath}; |
| 44 | if (index === -1) { |
| 45 | this._array.push(record); |
| 46 | } else { |
| 47 | this._array[index] = record; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | delete(testPath: string) { |
| 52 | const record = this._array.find( |
no outgoing calls