diff options
| author | Shinigami <[email protected]> | 2025-07-04 20:23:30 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-04 18:23:30 +0000 |
| commit | 623d2741a4ca165596fad7fede2f850b6c08aa3a (patch) | |
| tree | c05531e1f25bea9201925c0342d22e9a50f8946f /test/modules/helpers.spec.ts | |
| parent | 160960b79719e1298668a7ebba390b30b8de1080 (diff) | |
| download | faker-623d2741a4ca165596fad7fede2f850b6c08aa3a.tar.xz faker-623d2741a4ca165596fad7fede2f850b6c08aa3a.zip | |
refactor!: remove deprecations (#3553)
Diffstat (limited to 'test/modules/helpers.spec.ts')
| -rw-r--r-- | test/modules/helpers.spec.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/modules/helpers.spec.ts b/test/modules/helpers.spec.ts index 241e8f52..e987af2a 100644 --- a/test/modules/helpers.spec.ts +++ b/test/modules/helpers.spec.ts @@ -1120,17 +1120,6 @@ describe('helpers', () => { delete (faker.string as any).special; }); - it('should support deprecated module aliases', () => { - expect(faker.definitions.location.state).toContain( - faker.helpers.fake('{{address.state}}') - ); - expect([ - ...(faker.definitions.person.first_name.female ?? []), - ...(faker.definitions.person.first_name.generic ?? []), - ...(faker.definitions.person.first_name.male ?? []), - ]).toContain(faker.helpers.fake('{{name.firstName}}')); - }); - it('should not trim whitespace', () => { expect(faker.helpers.fake(' --- ')).toBe(' --- '); }); |
