Join our community: https://t.me/+DOylgFv1jyJlNzM0
Why this matters
backend/src/config/loanConfig.ts centralizes loan thresholds referenced across controllers and services, but nothing asserts at process start that the values are internally consistent, unlike backend/src/config/env.ts which has envValidation.test.ts.
Acceptance criteria
Files to touch
- backend/src/config/loanConfig.ts
- backend/src/tests/envValidation.test.ts
Out of scope
Changing the actual threshold values.
Why this matters
backend/src/config/loanConfig.ts centralizes loan thresholds referenced across controllers and services, but nothing asserts at process start that the values are internally consistent, unlike backend/src/config/env.ts which has envValidation.test.ts.
Acceptance criteria
Files to touch
Out of scope
Changing the actual threshold values.