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/image.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/image.spec.ts')
| -rw-r--r-- | test/modules/image.spec.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/modules/image.spec.ts b/test/modules/image.spec.ts index d77b854d..d2c0152f 100644 --- a/test/modules/image.spec.ts +++ b/test/modules/image.spec.ts @@ -410,7 +410,7 @@ describe('image', () => { expect(avatarUrl).toBeTypeOf('string'); expect(avatarUrl).toMatch( - /^https:\/\/cloudflare\-ipfs\.com\/ipfs\/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye\/avatar\/\d{1,4}\.jpg$/ + /^https:\/\/cloudflare-ipfs\.com\/ipfs\/Qmd3W5DuhgHirLHGVixi6V76LhCkZUz6pnFt5AJBiyvHye\/avatar\/\d{1,4}\.jpg$/ ); }); }); @@ -463,7 +463,7 @@ describe('image', () => { expect(imageUrl).toBeTypeOf('string'); expect(imageUrl).toMatch( - /^https\:\/\/loremflickr\.com\/\d+\/\d+\?lock=\d+$/ + /^https:\/\/loremflickr\.com\/\d+\/\d+\?lock=\d+$/ ); }); }); @@ -474,7 +474,7 @@ describe('image', () => { expect(imageUrl).toBeTypeOf('string'); expect(imageUrl).toMatch( - /^https\:\/\/picsum\.photos\/seed\/[0-9a-zA-Z]+\/\d+\/\d+$/ + /^https:\/\/picsum\.photos\/seed\/[0-9a-zA-Z]+\/\d+\/\d+$/ ); }); }); @@ -485,7 +485,7 @@ describe('image', () => { expect(imageUrl).toBeTypeOf('string'); expect(imageUrl).toMatch( - /^https\:\/\/via\.placeholder\.com\/\d+x\d+\/[0-9a-fA-F]{6}\/[0-9a-fA-F]{6}\.[a-z]{3,4}\?text=.+$/ + /^https:\/\/via\.placeholder\.com\/\d+x\d+\/[0-9a-fA-F]{6}\/[0-9a-fA-F]{6}\.[a-z]{3,4}\?text=.+$/ ); }); }); |
