diff options
Diffstat (limited to 'test/modules/helpers.spec.ts')
| -rw-r--r-- | test/modules/helpers.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/modules/helpers.spec.ts b/test/modules/helpers.spec.ts index 08dc2b61..6163a0d2 100644 --- a/test/modules/helpers.spec.ts +++ b/test/modules/helpers.spec.ts @@ -993,7 +993,7 @@ describe('helpers', () => { }); it('replaces a token with a random value for a method with an object parameter', () => { - const actual = faker.helpers.fake('{{random.alpha({"count": 3})}}'); + const actual = faker.helpers.fake('{{string.alpha({"length": 3})}}'); expect(actual).toMatch(/^[a-z]{3}$/i); }); |
