diff --git a/packages/bruno-common/src/utils/faker-functions.spec.ts b/packages/bruno-common/src/utils/faker-functions.spec.ts index 18f4f3f270..6af42daaf3 100644 --- a/packages/bruno-common/src/utils/faker-functions.spec.ts +++ b/packages/bruno-common/src/utils/faker-functions.spec.ts @@ -54,6 +54,7 @@ describe('mockDataFunctions Regex Validation', () => { randomStreetAddress: /^[\s\S]+$/, randomCountry: /^[\s\S]+$/, randomCountryCode: /^[\s\S]+$/, + randomZipCode: /^[0-9]{5}$/, randomLatitude: /^[\s\S]+$/, randomLongitude: /^[\s\S]+$/, randomAvatarImage: /^[\s\S]+$/, diff --git a/packages/bruno-common/src/utils/faker-functions.ts b/packages/bruno-common/src/utils/faker-functions.ts index fe776889d2..dcea8635b1 100644 --- a/packages/bruno-common/src/utils/faker-functions.ts +++ b/packages/bruno-common/src/utils/faker-functions.ts @@ -39,6 +39,7 @@ export const mockDataFunctions = { randomStreetAddress: () => faker.location.streetAddress(), randomCountry: () => faker.location.country(), randomCountryCode: () => faker.location.countryCode(), + randomZipCode: () => faker.location.zipCode(), randomLatitude: () => faker.location.latitude(), randomLongitude: () => faker.location.longitude(), randomAvatarImage: () => faker.image.avatar(),