aboutsummaryrefslogtreecommitdiff
path: root/test/utils
diff options
context:
space:
mode:
authorDivisionByZero <[email protected]>2024-06-30 19:06:31 +0200
committerGitHub <[email protected]>2024-06-30 19:06:31 +0200
commite21fcaf2398dfd9aed54136524fabd39866dfca4 (patch)
tree1c91c07cfd517f935540becee692b2dae70304e0 /test/utils
parent92a2f178343f4413bd6d782a7957eda86aa1b7b8 (diff)
downloadfaker-e21fcaf2398dfd9aed54136524fabd39866dfca4.tar.xz
faker-e21fcaf2398dfd9aed54136524fabd39866dfca4.zip
refactor(locale): group person entries by gender (#2938)
Diffstat (limited to 'test/utils')
-rw-r--r--test/utils/merge-locales.spec.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/utils/merge-locales.spec.ts b/test/utils/merge-locales.spec.ts
index 3fb24ff3..11b4dc71 100644
--- a/test/utils/merge-locales.spec.ts
+++ b/test/utils/merge-locales.spec.ts
@@ -65,12 +65,12 @@ describe('mergeLocales', () => {
const locale1: LocaleDefinition = {
metadata: { title: 'a' },
location: { city: ['a'] },
- person: { first_name: ['a'] },
+ person: { suffix: ['a'] },
};
const locale2: LocaleDefinition = {
metadata: { title: 'b' },
animal: { cat: ['b'] },
- person: { last_name: ['b'] },
+ person: { bio_pattern: ['b'] },
};
const locale3: LocaleDefinition = {
metadata: { title: 'c' },
@@ -85,7 +85,7 @@ describe('mergeLocales', () => {
animal: { cat: ['b'] },
color: { human: ['c'] },
location: { city: ['a'] },
- person: { first_name: ['a'], last_name: ['b'] },
+ person: { suffix: ['a'], bio_pattern: ['b'] },
});
});
});