aboutsummaryrefslogtreecommitdiff
path: root/test/modules/image.spec.ts
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2023-10-07 11:05:58 +0200
committerGitHub <[email protected]>2023-10-07 09:05:58 +0000
commiteb2b18b8a0e64eded3731bae4204d2925dbef3e7 (patch)
tree0ace6e551d0a75fae07e6acef448b48691589cdc /test/modules/image.spec.ts
parentc80c035333e3c832c46dc7dcac5c86a289829e0d (diff)
downloadfaker-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.ts8
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=.+$/
);
});
});