diff options
| author | ST-DDT <[email protected]> | 2022-04-04 17:01:18 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-04-04 15:01:18 +0000 |
| commit | fb1b87e2249798c6257cb5383f73a15022f438f0 (patch) | |
| tree | d20171e5380cfc448422fdcb87bbb1b11aebcf55 /test | |
| parent | 8b545b4e72e0d00f93d51f8de876103bedebff03 (diff) | |
| download | faker-fb1b87e2249798c6257cb5383f73a15022f438f0.tar.xz faker-fb1b87e2249798c6257cb5383f73a15022f438f0.zip | |
fix: random word fails on undefined (#771)
Diffstat (limited to 'test')
| -rw-r--r-- | test/system.spec.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/system.spec.ts b/test/system.spec.ts index de7d0390..26b5730f 100644 --- a/test/system.spec.ts +++ b/test/system.spec.ts @@ -268,4 +268,19 @@ describe('system', () => { }); } }); + + describe('extra tests', () => { + describe('commonFileName()', () => { + afterEach(() => { + faker.locale = 'en'; + }); + + it('#770', () => { + faker.seed(5423027051750305); + faker.setLocale('sk'); + faker.system.commonFileName('xml'); + faker.system.commonFileName('xml'); + }); + }); + }); }); |
