aboutsummaryrefslogtreecommitdiff
path: root/test/image.spec.ts
diff options
context:
space:
mode:
authorShinigami <[email protected]>2023-03-30 17:11:31 +0200
committerGitHub <[email protected]>2023-03-30 15:11:31 +0000
commitb5bfca4043903340dee9ed3cd8965bcdbee85211 (patch)
tree5edeb3e8121e46b7905be0cc2f06fa45cabb675d /test/image.spec.ts
parent063ba6e264ec44f797531c7612b814bd331c5f59 (diff)
downloadfaker-b5bfca4043903340dee9ed3cd8965bcdbee85211.tar.xz
faker-b5bfca4043903340dee9ed3cd8965bcdbee85211.zip
fix(image): use seeded picsum (#1968)
Diffstat (limited to 'test/image.spec.ts')
-rw-r--r--test/image.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/image.spec.ts b/test/image.spec.ts
index a0a6d4ef..61276691 100644
--- a/test/image.spec.ts
+++ b/test/image.spec.ts
@@ -455,7 +455,7 @@ describe('image', () => {
expect(imageUrl).toBeTypeOf('string');
expect(imageUrl).toMatch(
- /^https\:\/\/picsum\.photos\/id\/\d+\/\d+\/\d+$/
+ /^https\:\/\/picsum\.photos\/seed\/[0-9a-zA-Z]+\/\d+\/\d+$/
);
});
});