slovensko-digital/priznanie-digital
Replace hardcoded 18 with MAX_CHILD_AGE_BONUS in test files
Aberta
#1.116 aberto em 28 de mar. de 2026
good first issuehackathon
Métricas do repositório
- Stars
- (20 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
MAX_CHILD_AGE_BONUS = 18 is already exported from src/lib/calculation.ts. The child age boundary is hardcoded as 18 in several test files. If the value ever changes, tests won't reflect it automatically. As it used to be 25 in the past, better be prepare for it.