We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e53dd91 commit 900ce83Copy full SHA for 900ce83
test/modules/image.spec.ts
@@ -130,7 +130,7 @@ describe('image', () => {
130
expect(imageUrl).toMatch(
131
/^https:\/\/cdn\.jsdelivr\.net\/gh\/faker-js\/assets-person-portrait\/(female|male)\/512\/\d{1,2}\.jpg$/
132
);
133
- expect(() => new URL(imageUrl)).not.toThrow();
+ expect(() => new URL(imageUrl)).not.toThrowError();
134
}
135
136
0 commit comments