Skip to content

Commit 900ce83

Browse files
authored
Apply suggestion
1 parent e53dd91 commit 900ce83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/modules/image.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ describe('image', () => {
130130
expect(imageUrl).toMatch(
131131
/^https:\/\/cdn\.jsdelivr\.net\/gh\/faker-js\/assets-person-portrait\/(female|male)\/512\/\d{1,2}\.jpg$/
132132
);
133-
expect(() => new URL(imageUrl)).not.toThrow();
133+
expect(() => new URL(imageUrl)).not.toThrowError();
134134
}
135135
);
136136

0 commit comments

Comments
 (0)