Skip to content

Commit

Permalink
fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Lorena Rodriguez Viruel committed Nov 19, 2024
1 parent 418b622 commit bd8d429
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/factories/cht/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,11 @@ const createAdditionalPersons = (nbrPersons, clinic, ageType) => {
const additionalPhoneNumber = PHONE_NUMBERS[i % PHONE_NUMBERS.length];
let name;
let date_of_birth;
let additionalPersonName;
if (ageType === 'kid') {
name = ADDITIONAL_KID_FIRST_NAMES[i % ADDITIONAL_KID_FIRST_NAMES.length];
additionalPersonName = `${name} ${clinic.last_name}`;
date_of_birth = DATE_OF_BIRTHS_KIDS[i % DATE_OF_BIRTHS_KIDS.length];
} else if (ageType === 'adult') {
name = ADDITIONAL_WOMAN_FIRST_NAMES[i % ADDITIONAL_WOMAN_FIRST_NAMES.length];
additionalPersonName = `${name} ${clinic.last_name}`;
date_of_birth = DATE_OF_BIRTHS_ADULTS[i % DATE_OF_BIRTHS_ADULTS.length];
}

Expand Down

0 comments on commit bd8d429

Please sign in to comment.