src/applications/disability-benefits/all-claims/migrations/02-convert-country-code.js
Function convertCountryCode
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function convertCountryCode(savedData) {
const addressPaths = [
{
path: 'incident0.incidentLocation.country',
returnUrl: 'disabilities/ptsd-incident-location-0',