aboutsummaryrefslogtreecommitdiff
path: root/test/modules
diff options
context:
space:
mode:
Diffstat (limited to 'test/modules')
-rw-r--r--test/modules/location.spec.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/modules/location.spec.ts b/test/modules/location.spec.ts
index 78b68812..8af00f37 100644
--- a/test/modules/location.spec.ts
+++ b/test/modules/location.spec.ts
@@ -220,6 +220,7 @@ describe('location', () => {
expect(() => faker.location.zipCode({ state: 'XX' })).toThrow(
new FakerError(
`The locale data for 'location.postcode_by_state' are missing in this locale.
+ If this is a custom Faker instance, please make sure all required locales are used e.g. '[de_AT, de, en, base]'.
Please contribute the missing data to the project or use a locale/Faker instance that has these data.
For more information see https://fakerjs.dev/guide/localization.html`
)