Skip to content

Commit 5eebbd9

Browse files
committed
Fix unit test
1 parent 48bc83c commit 5eebbd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/atomic-crm/providers/commons/getCompanyAvatar.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import type { Company } from "../../types";
66
import { getCompanyAvatar } from "./getCompanyAvatar";
77

88
it("should return favicon URL if website url exist", async () => {
9-
const website = "https://gravatar.com";
9+
const website = "https://example.com";
1010
const record: Partial<Company> = { website };
1111

1212
const avatarUrl = await getCompanyAvatar(record);
1313
expect(avatarUrl).toStrictEqual({
14-
src: "https://gravatar.com/favicon.ico",
14+
src: "https://favicon.show/example.com",
1515
title: "Company favicon",
1616
});
1717
});

0 commit comments

Comments
 (0)