aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDivisionByZero <[email protected]>2023-06-19 20:46:43 +0200
committerGitHub <[email protected]>2023-06-19 18:46:43 +0000
commite86f3b6b2619cc7fdf28213de0e6ff676a3e2d7e (patch)
treef1ed647218488db5e77cedff577ee3dd137270c0
parenta6f5a39fff65d8923aab6db8a05a3ab79d097896 (diff)
downloadfaker-e86f3b6b2619cc7fdf28213de0e6ff676a3e2d7e.tar.xz
faker-e86f3b6b2619cc7fdf28213de0e6ff676a3e2d7e.zip
refactor(locale): cs_CZ state_abbr not applicable (#2140)
-rw-r--r--src/locales/cs_CZ/location/state_abbr.ts6
-rw-r--r--test/all_functional.spec.ts2
2 files changed, 2 insertions, 6 deletions
diff --git a/src/locales/cs_CZ/location/state_abbr.ts b/src/locales/cs_CZ/location/state_abbr.ts
index 62fad262..7646bbd1 100644
--- a/src/locales/cs_CZ/location/state_abbr.ts
+++ b/src/locales/cs_CZ/location/state_abbr.ts
@@ -1,5 +1 @@
-import states from './state';
-
-// at the time of adding this I was not able to find
-// any information on the existance of state abbreviations
-export default states;
+export default null;
diff --git a/test/all_functional.spec.ts b/test/all_functional.spec.ts
index c706a0ce..ec3bcd40 100644
--- a/test/all_functional.spec.ts
+++ b/test/all_functional.spec.ts
@@ -30,7 +30,7 @@ const BROKEN_LOCALE_METHODS = {
},
location: {
state: ['az', 'nb_NO', 'ro_MD', 'sk'],
- stateAbbr: ['ro_MD', 'sk'],
+ stateAbbr: ['cs_CZ', 'ro_MD', 'sk'],
streetName: [
'af_ZA',
'ar',