(labels: readonly string[], triagePriority: TriagePriority)
| 10465 | } |
| 10466 | |
| 10467 | function nextPriorityLabels(labels: readonly string[], triagePriority: TriagePriority): string[] { |
| 10468 | const nextLabels = labels.filter((label) => !PRIORITY_LABEL_NAMES.has(label)); |
| 10469 | const priorityLabel = priorityLabelForTriage(triagePriority); |
| 10470 | if (priorityLabel) nextLabels.push(priorityLabel.name); |
| 10471 | return nextLabels; |
| 10472 | } |
| 10473 | |
| 10474 | export function priorityLabelSchemeForTest(): { |
| 10475 | name: string; |
no test coverage detected