-
-
Notifications
You must be signed in to change notification settings - Fork 973
Adding a new locale without street_name definitions causes test failure #2364
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
Comments
This likely caused by this: faker/src/modules/location/index.ts Lines 220 to 230 in 8e4ea67
In combination with it missing from en as fallback faker/src/locales/en/location/index.ts Lines 19 to 23 in 8e4ea67
|
As a workaround we could temporarily provide a list for en. |
or set |
There appears to be 19 files that contains these: |
as the streetName() method is deprecated and these defintiions are now only used indirectly by street(), i think just changing the BROKEN_LOCALE_METHODS entry to |
I'll provide a PR implementing I'm a little confused why this has not been done so far. |
Currently if you add a new locale with say just the person definitions, you get a test failure in
So either
Neither of these are particularly intuitive for a new contributor starting work on a new locale.
I'm not sure specifically why this method fails and not other methods in the location module?
The text was updated successfully, but these errors were encountered: