(type)
| 23 | }; |
| 24 | |
| 25 | function getCounterConfig(type) { |
| 26 | return COUNTER_TYPE_CONFIG[type] || { |
| 27 | label: 'Unknown', |
| 28 | baseName: 'Counter', |
| 29 | emoji: '❓' |
| 30 | }; |
| 31 | } |
| 32 | |
| 33 | export function getCounterTypeLabel(type) { |
| 34 | return getCounterConfig(type).label; |
no outgoing calls
no test coverage detected