chore: Remove HeadSeo everywhere (#20272)

This commit is contained in:
Benny Joo authored and GitHub committed 2025-03-21 14:24:53 -04:00
1 parent 78ddf71823
commit 4606fc6ace
28 files changed
+20 -356

No files matched your search

@@ -3,7 +3,6 @@ import { describe, it, vi } from "vitest";
import { getOrgFullOrigin } from "@calcom/ee/organizations/lib/orgDomains";
import { useRouterQuery } from "@calcom/lib/hooks/useRouterQuery";
import { HeadSeo } from "@calcom/ui/components/head-seo";
import UserPage from "./users-public-view";
@@ -56,7 +55,7 @@ function mockedUserPageComponentProps(props: Partial<React.ComponentProps<typeof
}
describe("UserPage Component", () => {
it("should render HeadSeo with correct props", () => {
it("should render with no throw", () => {
const mockData = {
props: mockedUserPageComponentProps({
entity: {
@@ -74,7 +73,6 @@ describe("UserPage Component", () => {
uid: "uid",
});
render(<UserPage {...mockData.props} />);
expect(HeadSeo).not.toHaveBeenCalled();
expect(() => render(<UserPage {...mockData.props} />)).not.toThrow();
});
});