(statuses: StatusConfig[], statusValue: string)
| 13 | } |
| 14 | |
| 15 | private findStatusIndex(statuses: StatusConfig[], statusValue: string): number { |
| 16 | const normalizedValue = this.normalizeStatusValue(statusValue); |
| 17 | return statuses.findIndex( |
| 18 | (status) => this.normalizeStatusValue(status.value) === normalizedValue |
| 19 | ); |
| 20 | } |
| 21 | |
| 22 | private getCycleStatuses(): StatusConfig[] { |
| 23 | return this.getStatusesByOrder().filter((status) => !status.excludeFromCycle); |
no test coverage detected