diff --git a/src/locales/en/location/county.ts b/src/locales/en/location/county.ts index ed4d7ba0c7a..de496db1c32 100644 --- a/src/locales/en/location/county.ts +++ b/src/locales/en/location/county.ts @@ -1,8 +1,110 @@ +// This is a combination of sample en_US and en_GB county names +// https://github.com/faker-js/faker/pull/2238#issuecomment-1682737025 export default [ + 'Adams County', + 'Calhoun County', + 'Carroll County', + 'Clark County', + 'Clay County', + 'Crawford County', + 'Douglas County', + 'Fayette County', + 'Franklin County', + 'Grant County', + 'Greene County', + 'Hamilton County', + 'Hancock County', + 'Henry County', + 'Jackson County', + 'Jefferson County', + 'Johnson County', + 'Lake County', + 'Lawrence County', + 'Lee County', + 'Lincoln County', + 'Logan County', + 'Madison County', + 'Marion County', + 'Marshall County', + 'Monroe County', + 'Montgomery County', + 'Morgan County', + 'Perry County', + 'Pike County', + 'Polk County', + 'Scott County', + 'Union County', + 'Warren County', + 'Washington County', + 'Wayne County', 'Avon', 'Bedfordshire', 'Berkshire', 'Borders', 'Buckinghamshire', 'Cambridgeshire', + 'Central', + 'Cheshire', + 'Cleveland', + 'Clwyd', + 'Cornwall', + 'County Antrim', + 'County Armagh', + 'County Down', + 'County Fermanagh', + 'County Londonderry', + 'County Tyrone', + 'Cumbria', + 'Derbyshire', + 'Devon', + 'Dorset', + 'Dumfries and Galloway', + 'Durham', + 'Dyfed', + 'East Sussex', + 'Essex', + 'Fife', + 'Gloucestershire', + 'Grampian', + 'Greater Manchester', + 'Gwent', + 'Gwynedd County', + 'Hampshire', + 'Herefordshire', + 'Hertfordshire', + 'Highlands and Islands', + 'Humberside', + 'Isle of Wight', + 'Kent', + 'Lancashire', + 'Leicestershire', + 'Lincolnshire', + 'Lothian', + 'Merseyside', + 'Mid Glamorgan', + 'Norfolk', + 'North Yorkshire', + 'Northamptonshire', + 'Northumberland', + 'Nottinghamshire', + 'Oxfordshire', + 'Powys', + 'Rutland', + 'Shropshire', + 'Somerset', + 'South Glamorgan', + 'South Yorkshire', + 'Staffordshire', + 'Strathclyde', + 'Suffolk', + 'Surrey', + 'Tayside', + 'Tyne and Wear', + 'Warwickshire', + 'West Glamorgan', + 'West Midlands', + 'West Sussex', + 'West Yorkshire', + 'Wiltshire', + 'Worcestershire', ]; diff --git a/test/modules/__snapshots__/location.spec.ts.snap b/test/modules/__snapshots__/location.spec.ts.snap index 586009521bf..6d693c9c5c9 100644 --- a/test/modules/__snapshots__/location.spec.ts.snap +++ b/test/modules/__snapshots__/location.spec.ts.snap @@ -20,7 +20,7 @@ exports[`location > 42 > countryCode > with alphaCode option 1`] = `"GUY"`; exports[`location > 42 > countryCode > with string 1`] = `"GY"`; -exports[`location > 42 > county 1`] = `"Berkshire"`; +exports[`location > 42 > county 1`] = `"Borders"`; exports[`location > 42 > direction > noArgs 1`] = `"South"`; @@ -172,7 +172,7 @@ exports[`location > 1211 > countryCode > with alphaCode option 1`] = `"UMI"`; exports[`location > 1211 > countryCode > with string 1`] = `"UM"`; -exports[`location > 1211 > county 1`] = `"Cambridgeshire"`; +exports[`location > 1211 > county 1`] = `"Tyne and Wear"`; exports[`location > 1211 > direction > noArgs 1`] = `"Southwest"`; @@ -324,7 +324,7 @@ exports[`location > 1337 > countryCode > with alphaCode option 1`] = `"ESH"`; exports[`location > 1337 > countryCode > with string 1`] = `"EH"`; -exports[`location > 1337 > county 1`] = `"Bedfordshire"`; +exports[`location > 1337 > county 1`] = `"Morgan County"`; exports[`location > 1337 > direction > noArgs 1`] = `"South"`;