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 48bc83c commit 5eebbd9Copy full SHA for 5eebbd9
src/atomic-crm/providers/commons/getCompanyAvatar.spec.ts
@@ -6,12 +6,12 @@ import type { Company } from "../../types";
6
import { getCompanyAvatar } from "./getCompanyAvatar";
7
8
it("should return favicon URL if website url exist", async () => {
9
- const website = "https://gravatar.com";
+ const website = "https://example.com";
10
const record: Partial<Company> = { website };
11
12
const avatarUrl = await getCompanyAvatar(record);
13
expect(avatarUrl).toStrictEqual({
14
- src: "https://gravatar.com/favicon.ico",
+ src: "https://favicon.show/example.com",
15
title: "Company favicon",
16
});
17
0 commit comments