import { camelizeKeys } from '@/utils/apiDto' describe('API DTO key mapping', () => { it('maps nested snake_case response keys without changing values', () => { expect(camelizeKeys({ lead_submission: { total_amount: '0.0001', economic_summary: [{ category_id: 10 }] }, blocking_departments: [] })).toEqual({ leadSubmission: { totalAmount: '0.0001', economicSummary: [{ categoryId: 10 }] }, blockingDepartments: [] }) }) })