diff --git a/PTG/src/Header.test.tsx b/PTG/src/Header.test.tsx index ebc4615..903800b 100644 --- a/PTG/src/Header.test.tsx +++ b/PTG/src/Header.test.tsx @@ -9,10 +9,10 @@ describe("Header", () => { expect( screen.getByRole("link", { name: "Pokémon Team Generator" }), - ).toHaveAttribute("href", "/"); + ).toHaveAttribute("href", "/project1/"); expect(screen.getByRole("link", { name: "About" })).toHaveAttribute( "href", - "/about", + "/project1/about", ); }); }); diff --git a/PTG/src/Header.tsx b/PTG/src/Header.tsx index b99af90..b86b77b 100644 --- a/PTG/src/Header.tsx +++ b/PTG/src/Header.tsx @@ -5,10 +5,10 @@ export default function Header() { return (