()
| 3 | |
| 4 | export const categoryOptions = (categories: Category[]) => categories.map(cat => ({ value: cat.id, label: cat.name })); |
| 5 | export const weightUnitOptions = () => Object.values(WeightUnit).map(unit => ({ value: unit, label: unit })); |
| 6 | export const durationUnitOptions = () => Object.values(DurationUnit).map(unit => ({ value: unit, label: unit })); |
| 7 | export const genderOptions = () => Object.values(Gender).map(unit => ({ value: unit, label: getGenderName(unit) })); |
no outgoing calls
no test coverage detected