You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using faker.name.lastName or faker.name.middleName with a specific gender, it returns invalid behavior.
It will return female names for male names.
Reproduction
faker.locale='uk';constname=faker.name.middleName(0);expect(faker.definitions.name.male_middle_name).toContain(name);// returns a female name
Describe the bug
When using
faker.name.lastName
orfaker.name.middleName
with a specific gender, it returns invalid behavior.It will return female names for male names.
Reproduction
Additional Info
faker/src/name.ts
Lines 63 to 125 in 730ca6a
The text was updated successfully, but these errors were encountered: