Skip to content

Commit

Permalink
use ageType instead of passing extra variables
Browse files Browse the repository at this point in the history
Co-authored-by: Jennifer Q <[email protected]>
  • Loading branch information
lorerod and latin-panda authored Nov 19, 2024
1 parent bd8d429 commit b162006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/factories/cht/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const createClinic = (index, healthCenter) => {
return { clinic, primaryContact };
};

const createAdditionalPersons = (nbrPersons, clinic, ageType) => {
const createAdditionalPersons = (nbrPersons, clinic, nameList, dateOfBirthList) => {
return Array
.from({ length: nbrPersons })
.map((_, i) => {
Expand Down

0 comments on commit b162006

Please sign in to comment.