diff options
| author | Matt Mayer <[email protected]> | 2022-12-24 08:47:59 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-24 01:47:59 +0000 |
| commit | ce1fa2f41df18f47be422d4f8dbcaf87b7d841a3 (patch) | |
| tree | 50980e50ca70840ed2eff0dd2a42b2194e713366 | |
| parent | dd81fe1b22139b928dccca1fb359a8a69180a62e (diff) | |
| download | faker-ce1fa2f41df18f47be422d4f8dbcaf87b7d841a3.tar.xz faker-ce1fa2f41df18f47be422d4f8dbcaf87b7d841a3.zip | |
feat(locale): update location/country list (#1676)
| -rw-r--r-- | src/locales/en/location/country.ts | 21 | ||||
| -rw-r--r-- | test/__snapshots__/location.spec.ts.snap | 4 |
2 files changed, 15 insertions, 10 deletions
diff --git a/src/locales/en/location/country.ts b/src/locales/en/location/country.ts index a1bbe717..8e17d00c 100644 --- a/src/locales/en/location/country.ts +++ b/src/locales/en/location/country.ts @@ -1,12 +1,13 @@ export default [ 'Afghanistan', + 'Aland Islands', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', - 'Antarctica (the territory South of 60 deg S)', + 'Antarctica', 'Antigua and Barbuda', 'Argentina', 'Armenia', @@ -25,9 +26,10 @@ export default [ 'Bermuda', 'Bhutan', 'Bolivia', + 'Bonaire, Sint Eustatius and Saba', 'Bosnia and Herzegovina', 'Botswana', - 'Bouvet Island (Bouvetoya)', + 'Bouvet Island', 'Brazil', 'British Indian Ocean Territory (Chagos Archipelago)', 'Brunei Darussalam', @@ -53,8 +55,10 @@ export default [ "Cote d'Ivoire", 'Croatia', 'Cuba', + 'Curacao', 'Cyprus', - 'Czech Republic', + 'Czechia', + 'Democratic Republic of the Congo', 'Denmark', 'Djibouti', 'Dominica', @@ -65,6 +69,7 @@ export default [ 'Equatorial Guinea', 'Eritrea', 'Estonia', + 'Eswatini', 'Ethiopia', 'Faroe Islands', 'Falkland Islands (Malvinas)', @@ -126,7 +131,6 @@ export default [ 'Lithuania', 'Luxembourg', 'Macao', - 'Macedonia', 'Madagascar', 'Malawi', 'Malaysia', @@ -151,7 +155,6 @@ export default [ 'Namibia', 'Nauru', 'Nepal', - 'Netherlands Antilles', 'Netherlands', 'New Caledonia', 'New Zealand', @@ -160,12 +163,13 @@ export default [ 'Nigeria', 'Niue', 'Norfolk Island', + 'North Macedonia', 'Northern Mariana Islands', 'Norway', 'Oman', 'Pakistan', 'Palau', - 'Palestinian Territory', + 'Palestine', 'Panama', 'Papua New Guinea', 'Paraguay', @@ -196,18 +200,19 @@ export default [ 'Seychelles', 'Sierra Leone', 'Singapore', - 'Slovakia (Slovak Republic)', + 'Sint Maarten', + 'Slovakia', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'South Georgia and the South Sandwich Islands', + 'South Sudan', 'Spain', 'Sri Lanka', 'Sudan', 'Suriname', 'Svalbard & Jan Mayen Islands', - 'Swaziland', 'Sweden', 'Switzerland', 'Syrian Arab Republic', diff --git a/test/__snapshots__/location.spec.ts.snap b/test/__snapshots__/location.spec.ts.snap index cdb6fdb1..ffe73ffd 100644 --- a/test/__snapshots__/location.spec.ts.snap +++ b/test/__snapshots__/location.spec.ts.snap @@ -12,7 +12,7 @@ exports[`location > 42 > city 1`] = `"Port Valentine"`; exports[`location > 42 > cityName 1`] = `"Hamilton"`; -exports[`location > 42 > country 1`] = `"Haiti"`; +exports[`location > 42 > country 1`] = `"Guinea"`; exports[`location > 42 > countryCode > noArgs 1`] = `"GY"`; @@ -168,7 +168,7 @@ exports[`location > 1337 > city 1`] = `"New Carmella"`; exports[`location > 1337 > cityName 1`] = `"East Hartford"`; -exports[`location > 1337 > country 1`] = `"Equatorial Guinea"`; +exports[`location > 1337 > country 1`] = `"Egypt"`; exports[`location > 1337 > countryCode > noArgs 1`] = `"EH"`; |
