(left: string, right: string)
| 457 | } |
| 458 | |
| 459 | function labelsMatch(left: string, right: string) { |
| 460 | return normalizeLabel(left) === normalizeLabel(right) |
| 461 | } |
| 462 | |
| 463 | function normalizeLabel(value: string) { |
| 464 | return value.toLowerCase().replace(/[^a-z0-9]+/g, "") |
no test coverage detected