department-of-veterans-affairs/vets-website

View on GitHub
src/applications/disability-benefits/all-claims/migrations/02-convert-country-code.js

Summary

Maintainability
A
1 hr
Test Coverage

Function convertCountryCode has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function convertCountryCode(savedData) {
  const addressPaths = [
    {
      path: 'incident0.incidentLocation.country',
      returnUrl: 'disabilities/ptsd-incident-location-0',

    There are no issues that match your filters.

    Category
    Status