diff --git a/packages/antd/src/components/themedLayout/title/index.spec.tsx b/packages/antd/src/components/themedLayout/title/index.spec.tsx index 79a849647fdd..deb15f3b78c6 100644 --- a/packages/antd/src/components/themedLayout/title/index.spec.tsx +++ b/packages/antd/src/components/themedLayout/title/index.spec.tsx @@ -5,7 +5,7 @@ import { ThemedTitle } from "."; describe("Themed Title", () => { test("should render default text", () => { const { getByText } = render(); - expect(getByText("refine Project")).toBeInTheDocument(); + expect(getByText("Refine Project")).toBeInTheDocument(); }); test("should render custom text", () => { @@ -32,6 +32,6 @@ describe("Themed Title", () => { test("should not render text when collapsed true", () => { const { queryByText } = render(); - expect(queryByText("refine Project")).not.toBeInTheDocument(); + expect(queryByText("Refine Project")).not.toBeInTheDocument(); }); }); diff --git a/packages/antd/src/components/themedLayoutV2/title/index.spec.tsx b/packages/antd/src/components/themedLayoutV2/title/index.spec.tsx index 25b3fdfe3f4e..68899b03ba6d 100644 --- a/packages/antd/src/components/themedLayoutV2/title/index.spec.tsx +++ b/packages/antd/src/components/themedLayoutV2/title/index.spec.tsx @@ -5,7 +5,7 @@ import { ThemedTitleV2 } from "."; describe("Themed Title", () => { test("should render default text", () => { const { getByText } = render(); - expect(getByText("refine Project")).toBeInTheDocument(); + expect(getByText("Refine Project")).toBeInTheDocument(); }); test("should render custom text", () => { @@ -32,6 +32,6 @@ describe("Themed Title", () => { test("should not render text when collapsed true", () => { const { queryByText } = render(); - expect(queryByText("refine Project")).not.toBeInTheDocument(); + expect(queryByText("Refine Project")).not.toBeInTheDocument(); }); });