diff --git a/apps/vojtechmares.com/components/homepage/CallToAction.tsx b/apps/vojtechmares.com/components/homepage/CallToAction.tsx index dcd1906..01fe852 100644 --- a/apps/vojtechmares.com/components/homepage/CallToAction.tsx +++ b/apps/vojtechmares.com/components/homepage/CallToAction.tsx @@ -16,7 +16,7 @@ export function CallToAction() { Je na čase pozvednout Vaši infrastrukturu na dnešní standardy. Infrastruktura má ukázat Vaši aplikaci světu, ne ji držet při zemi.

diff --git a/apps/vojtechmares.com/tests/Home.test.tsx b/apps/vojtechmares.com/tests/Homepage.test.tsx similarity index 83% rename from apps/vojtechmares.com/tests/Home.test.tsx rename to apps/vojtechmares.com/tests/Homepage.test.tsx index f91e49b..57df845 100644 --- a/apps/vojtechmares.com/tests/Home.test.tsx +++ b/apps/vojtechmares.com/tests/Homepage.test.tsx @@ -1,9 +1,9 @@ import { expect, test } from "vitest"; import { render, screen, within } from "@testing-library/react"; -import Home from "../pages"; +import Page from "../app/page"; -test("home", () => { - render(); +test("homepage", () => { + render(); const main = within(screen.getByRole("main")); expect( main.getByRole("heading", { @@ -19,18 +19,18 @@ test("home", () => { if (element instanceof HTMLSpanElement) { const parent = element.closest("a"); expect(parent?.getAttribute("href")).toBe( - "mailto:iam@vojtechmares.com" + "mailto:jsem@vojtechmares.com" ) return; } expect(element.getAttribute("href")).toBe( - "mailto:iam@vojtechmares.com" + "mailto:jsem@vojtechmares.com" ) }); - expect(writeMe).toHaveLength(6); + expect(writeMe).toHaveLength(4); // const footer = within(screen.getByRole('contentinfo')) // const link = within(footer.getByRole('link'))