Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(location): update en county list #2238

Merged
merged 5 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 36 additions & 6 deletions src/locales/en/location/county.ts
ST-DDT marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
export default [
'Avon',
'Bedfordshire',
'Berkshire',
'Borders',
'Buckinghamshire',
'Cambridgeshire',
'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',
];
6 changes: 3 additions & 3 deletions test/__snapshots__/location.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -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`] = `"Henry County"`;

exports[`location > 42 > direction > noArgs 1`] = `"South"`;

Expand Down Expand Up @@ -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`] = `"Warren County"`;

exports[`location > 1211 > direction > noArgs 1`] = `"Southwest"`;

Expand Down Expand Up @@ -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`] = `"Grant County"`;

exports[`location > 1337 > direction > noArgs 1`] = `"South"`;

Expand Down