diff options
| author | ST-DDT <[email protected]> | 2023-10-07 11:05:58 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-07 09:05:58 +0000 |
| commit | eb2b18b8a0e64eded3731bae4204d2925dbef3e7 (patch) | |
| tree | 0ace6e551d0a75fae07e6acef448b48691589cdc /test/modules/commerce.spec.ts | |
| parent | c80c035333e3c832c46dc7dcac5c86a289829e0d (diff) | |
| download | faker-eb2b18b8a0e64eded3731bae4204d2925dbef3e7.tar.xz faker-eb2b18b8a0e64eded3731bae4204d2925dbef3e7.zip | |
infra(eslint): enable no-useless-escape eslint rule (#2434)
Diffstat (limited to 'test/modules/commerce.spec.ts')
| -rw-r--r-- | test/modules/commerce.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/modules/commerce.spec.ts b/test/modules/commerce.spec.ts index 0588e228..6ccc18f7 100644 --- a/test/modules/commerce.spec.ts +++ b/test/modules/commerce.spec.ts @@ -110,7 +110,7 @@ describe('commerce', () => { expect( amount, 'The expected match should not include a currency symbol' - ).toMatch(/^[0-9\.]+$/); + ).toMatch(/^[0-9.]+$/); }); it('should handle negative amounts, but return 0', () => { |
