aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDivisionByZero <[email protected]>2023-10-05 19:49:59 +0200
committerGitHub <[email protected]>2023-10-05 19:49:59 +0200
commit491d3191213e2ceaaee46dcc50ac25c3995ba2d5 (patch)
treeb2ed4cb36c83c8efc3dea8b9a5e71297381eb3e2 /test
parent5410239245b4a6fe8c1976f8aa33c970923f9f40 (diff)
downloadfaker-491d3191213e2ceaaee46dcc50ac25c3995ba2d5.tar.xz
faker-491d3191213e2ceaaee46dcc50ac25c3995ba2d5.zip
feat(locale): add street_name to `en_US`, `en_GB` and `en` (#2371)
Diffstat (limited to 'test')
-rw-r--r--test/all_functional.spec.ts44
-rw-r--r--test/modules/__snapshots__/location.spec.ts.snap16
-rw-r--r--test/modules/__snapshots__/random.spec.ts.snap4
3 files changed, 10 insertions, 54 deletions
diff --git a/test/all_functional.spec.ts b/test/all_functional.spec.ts
index 65c9386d..23ed6ccf 100644
--- a/test/all_functional.spec.ts
+++ b/test/all_functional.spec.ts
@@ -31,50 +31,6 @@ const BROKEN_LOCALE_METHODS = {
location: {
state: ['az', 'nb_NO', 'ro_MD', 'sk'],
stateAbbr: ['cs_CZ', 'ro_MD', 'sk'],
- streetName: [
- 'af_ZA',
- 'ar',
- 'dv',
- 'el',
- 'en',
- 'en_AU',
- 'en_BORK',
- 'en_CA',
- 'en_GB',
- 'en_GH',
- 'en_HK',
- 'en_IE',
- 'en_IN',
- 'en_NG',
- 'en_US',
- 'en_ZA',
- 'eo',
- 'es',
- 'fa',
- 'fi',
- 'fr',
- 'fr_BE',
- 'fr_CA',
- 'fr_CH',
- 'fr_LU',
- 'hu',
- 'hy',
- 'id_ID',
- 'it',
- 'ja',
- 'ne',
- 'nl',
- 'nl_BE',
- 'pl',
- 'pt_BR',
- 'pt_PT',
- 'ur',
- 'vi',
- 'yo_NG',
- 'zh_CN',
- 'zh_TW',
- 'zu_ZA',
- ],
zipCode: ['en_HK'],
zipCodeByState: ['en_HK'],
},
diff --git a/test/modules/__snapshots__/location.spec.ts.snap b/test/modules/__snapshots__/location.spec.ts.snap
index 8324fab4..cfdc45f4 100644
--- a/test/modules/__snapshots__/location.spec.ts.snap
+++ b/test/modules/__snapshots__/location.spec.ts.snap
@@ -142,13 +142,13 @@ exports[`location > 42 > state > with options 1`] = `"ME"`;
exports[`location > 42 > stateAbbr 1`] = `"ME"`;
-exports[`location > 42 > street 1`] = `"Peyton Villages"`;
+exports[`location > 42 > street 1`] = `"Schinner Villages"`;
-exports[`location > 42 > streetAddress > noArgs 1`] = `"8917 Miller Park"`;
+exports[`location > 42 > streetAddress > noArgs 1`] = `"8917 Oxford Street"`;
-exports[`location > 42 > streetAddress > with boolean 1`] = `"8917 Miller Park"`;
+exports[`location > 42 > streetAddress > with boolean 1`] = `"8917 Oxford Street"`;
-exports[`location > 42 > streetAddress > with useFullAddress options 1`] = `"8917 Miller Park Apt. 510"`;
+exports[`location > 42 > streetAddress > with useFullAddress options 1`] = `"8917 Oxford Street Suite 241"`;
exports[`location > 42 > timeZone 1`] = `"America/North_Dakota/New_Salem"`;
@@ -302,7 +302,7 @@ exports[`location > 1211 > state > with options 1`] = `"WA"`;
exports[`location > 1211 > stateAbbr 1`] = `"WA"`;
-exports[`location > 1211 > street 1`] = `"Koelpin Turnpike"`;
+exports[`location > 1211 > street 1`] = `"Market Street"`;
exports[`location > 1211 > streetAddress > noArgs 1`] = `"587 Breana Wells"`;
@@ -464,11 +464,11 @@ exports[`location > 1337 > stateAbbr 1`] = `"IN"`;
exports[`location > 1337 > street 1`] = `"Kellen Crest"`;
-exports[`location > 1337 > streetAddress > noArgs 1`] = `"61225 Alexys Gateway"`;
+exports[`location > 1337 > streetAddress > noArgs 1`] = `"61225 Barton Gateway"`;
-exports[`location > 1337 > streetAddress > with boolean 1`] = `"61225 Alexys Gateway"`;
+exports[`location > 1337 > streetAddress > with boolean 1`] = `"61225 Barton Gateway"`;
-exports[`location > 1337 > streetAddress > with useFullAddress options 1`] = `"61225 Alexys Gateway Apt. 552"`;
+exports[`location > 1337 > streetAddress > with useFullAddress options 1`] = `"61225 Barton Gateway Apt. 552"`;
exports[`location > 1337 > timeZone 1`] = `"America/Guatemala"`;
diff --git a/test/modules/__snapshots__/random.spec.ts.snap b/test/modules/__snapshots__/random.spec.ts.snap
index 045cc40f..a8fdb062 100644
--- a/test/modules/__snapshots__/random.spec.ts.snap
+++ b/test/modules/__snapshots__/random.spec.ts.snap
@@ -34,11 +34,11 @@ exports[`random > 1211 > numeric > with length 1`] = `"94872"`;
exports[`random > 1211 > word 1`] = `"gah"`;
-exports[`random > 1211 > words > noArgs 1`] = `"USB teal Batz"`;
+exports[`random > 1211 > words > noArgs 1`] = `"USB teal Road"`;
exports[`random > 1211 > words > with length 1`] = `"gah strictly Bronze assail Manager"`;
-exports[`random > 1211 > words > with length range 1`] = `"USB teal Batz Manager male"`;
+exports[`random > 1211 > words > with length range 1`] = `"USB teal Road magenta Oriental"`;
exports[`random > 1337 > alpha > noArgs 1`] = `"n"`;