From b40ad45ad3cca6769968a63264e6d925bf4b328a Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Wed, 8 Nov 2023 03:59:19 +0700 Subject: feat(person): use fake patterns for jobTitle (#2528) --- src/modules/person/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/person/index.ts b/src/modules/person/index.ts index de408091..f5f4778c 100644 --- a/src/modules/person/index.ts +++ b/src/modules/person/index.ts @@ -336,7 +336,9 @@ export class PersonModule extends ModuleBase { * @since 8.0.0 */ jobTitle(): string { - return `${this.jobDescriptor()} ${this.jobArea()} ${this.jobType()}`; + return this.faker.helpers.fake( + this.faker.definitions.person.job_title_pattern + ); } /** -- cgit v1.2.3