diff --git a/frontend/src/app/__snapshots__/page.spec.tsx.snap b/frontend/src/app/__snapshots__/page.spec.tsx.snap index 7f36bc9..558c4bf 100644 --- a/frontend/src/app/__snapshots__/page.spec.tsx.snap +++ b/frontend/src/app/__snapshots__/page.spec.tsx.snap @@ -2,24 +2,28 @@ exports[`App renders homepage unchanged 1`] = `
-
-

- Pokedex -

-

- Welcome to the Pokedex App -

+
+ class="bg-white relative shadow shadow-[#000000] pt-8 pl-9 pr-7 pb-11 m-2 border-double border-r-4 border-b-4 border-t-[1px] border-l border-[#000000] rounded-bl-[2.5rem] rounded-t-md rounded-br-md aspect-[4/3] w-10/12" + id="framed-screen" + > +
+
+
+
+
-
`; diff --git a/frontend/src/app/page.spec.tsx b/frontend/src/app/page.spec.tsx index 039195a..157b046 100644 --- a/frontend/src/app/page.spec.tsx +++ b/frontend/src/app/page.spec.tsx @@ -5,15 +5,6 @@ import { PokemonTypes } from "@/components/PokemonAPIProvider/pokemon-api.types" import PokemonAPIProvider from "@/components/PokemonAPIProvider"; describe("App", () => { - it("renders a heading", () => { - render(, { wrapper: PokemonAPIProvider }); - - const heading = screen.getByRole("heading", { level: 1 }); - - expect(heading).toBeInTheDocument(); - expect(heading).toHaveTextContent("Pokedex"); - }); - it("renders homepage unchanged", () => { const { container } = render(, { wrapper: PokemonAPIProvider }); expect(container).toMatchSnapshot(); diff --git a/frontend/src/components/FramedScreen/index.tsx b/frontend/src/components/FramedScreen/index.tsx index e6c499e..5e7515b 100644 --- a/frontend/src/components/FramedScreen/index.tsx +++ b/frontend/src/components/FramedScreen/index.tsx @@ -23,7 +23,7 @@ const FramedScreen = ({ return (
{pokemon?.image && ( diff --git a/frontend/src/components/PokemonDetails/__snapshots__/index.spec.tsx.snap b/frontend/src/components/PokemonDetails/__snapshots__/index.spec.tsx.snap index 96c114d..37a32dd 100644 --- a/frontend/src/components/PokemonDetails/__snapshots__/index.spec.tsx.snap +++ b/frontend/src/components/PokemonDetails/__snapshots__/index.spec.tsx.snap @@ -3,55 +3,63 @@ exports[`Pokemon Details should be blank when there are no details 1`] = `
+ class="relative w-10/12 m-8" + > +
+
`; exports[`Pokemon Details should render unchanged 1`] = `
-

- # - 94 -

-

- Gengar -

-
-
    -
  • +
    +

    + # + 94 +

    +

    + Gengar +

    +
    +
      +
    • +

      + Poison +

      +
    • +
    • +

      + Ghost +

      +
    • +
    +

    - Poison + Height: + 15

    -
  • -
  • - Ghost + Weight: + 405

    -
  • -
-
-

- Height: - 15 -

-

- Weight: - 405 -

+