diff options
| author | ST-DDT <[email protected]> | 2022-10-16 11:02:41 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-16 11:02:41 +0200 |
| commit | 90b9c5c39b8c193d41b7d3d9801e5b10360daa4c (patch) | |
| tree | 4d3ac2e1076c0d5417cd6ee9d1875f2816604a5b | |
| parent | 0f9b0c64e556349cd02d54cb78a780373b2ddb97 (diff) | |
| download | faker-90b9c5c39b8c193d41b7d3d9801e5b10360daa4c.tar.xz faker-90b9c5c39b8c193d41b7d3d9801e5b10360daa4c.zip | |
test: fix fake test expectation (#1458)
| -rw-r--r-- | test/helpers.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helpers.spec.ts b/test/helpers.spec.ts index 2d63b67b..5bec3fad 100644 --- a/test/helpers.spec.ts +++ b/test/helpers.spec.ts @@ -588,7 +588,7 @@ describe('helpers', () => { it('should be able to handle random }} brackets', () => { expect(faker.helpers.fake('}}hello{{random.alpha}}')).toMatch( - /^}}hello[a-z]$/ + /^}}hello[a-zA-Z]$/ ); }); |
