diff options
| author | Shinigami <[email protected]> | 2024-02-25 10:36:31 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-25 09:36:31 +0000 |
| commit | 64ff107b8a9cd0965a67f00fd30cded144c02fd6 (patch) | |
| tree | c727728fd3c98c2abac39bdd9868ada5d430d01d /test/modules/helpers.spec.ts | |
| parent | a9dc7017b4a2b2bf79c42fe947de6029fae5e937 (diff) | |
| download | faker-64ff107b8a9cd0965a67f00fd30cded144c02fd6.tar.xz faker-64ff107b8a9cd0965a67f00fd30cded144c02fd6.zip | |
refactor(random)!: remove deprecated random module (#2678)
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); }); |
