aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatt Mayer <[email protected]>2023-01-01 00:49:19 +0700
committerGitHub <[email protected]>2022-12-31 17:49:19 +0000
commit2a2e054a16a45bc5cd56bdd923b7f5140eb12699 (patch)
tree0b839ea78065c808c4816c404d07e2b2cc8a53c8 /test
parent351f8f0ee1e5bcefc4188b3124e7a9eeec774192 (diff)
downloadfaker-2a2e054a16a45bc5cd56bdd923b7f5140eb12699.tar.xz
faker-2a2e054a16a45bc5cd56bdd923b7f5140eb12699.zip
feat(person): add short bio (#1696)
Diffstat (limited to 'test')
-rw-r--r--test/__snapshots__/person.spec.ts.snap6
-rw-r--r--test/person.spec.ts3
2 files changed, 8 insertions, 1 deletions
diff --git a/test/__snapshots__/person.spec.ts.snap b/test/__snapshots__/person.spec.ts.snap
index a74ca00a..593d9978 100644
--- a/test/__snapshots__/person.spec.ts.snap
+++ b/test/__snapshots__/person.spec.ts.snap
@@ -1,5 +1,7 @@
// Vitest Snapshot v1
+exports[`person > 42 > bio 1`] = `"public speaker, traveler, designer"`;
+
exports[`person > 42 > firstName > noArgs 1`] = `"Garnet"`;
exports[`person > 42 > firstName > with sex 1`] = `"Glen"`;
@@ -48,6 +50,8 @@ exports[`person > 42 > suffix > with sex 1`] = `"III"`;
exports[`person > 42 > zodiacSign 1`] = `"Gemini"`;
+exports[`person > 1211 > bio 1`] = `"infusion supporter, photographer 🙆‍♀️"`;
+
exports[`person > 1211 > firstName > noArgs 1`] = `"Tito"`;
exports[`person > 1211 > firstName > with sex 1`] = `"Percy"`;
@@ -96,6 +100,8 @@ exports[`person > 1211 > suffix > with sex 1`] = `"DVM"`;
exports[`person > 1211 > zodiacSign 1`] = `"Capricorn"`;
+exports[`person > 1337 > bio 1`] = `"inventor, creator, developer"`;
+
exports[`person > 1337 > firstName > noArgs 1`] = `"Devyn"`;
exports[`person > 1337 > firstName > with sex 1`] = `"Ray"`;
diff --git a/test/person.spec.ts b/test/person.spec.ts
index 757c6e8c..c232977f 100644
--- a/test/person.spec.ts
+++ b/test/person.spec.ts
@@ -17,7 +17,8 @@ describe('person', () => {
'jobTitle',
'jobDescriptor',
'jobArea',
- 'jobType'
+ 'jobType',
+ 'bio'
);
t.describeEach(