From 25c03705a86e8e889b8fa97476072bf9f6d639e6 Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Tue, 7 Oct 2025 17:16:51 -0600 Subject: [PATCH] Update LogoWall.test.jsx --- tests/unit/LogoWall.test.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/unit/LogoWall.test.jsx b/tests/unit/LogoWall.test.jsx index 2c8b662..294c4ca 100644 --- a/tests/unit/LogoWall.test.jsx +++ b/tests/unit/LogoWall.test.jsx @@ -47,7 +47,7 @@ describe("LogoWall Component", () => { render(); expect( - screen.getByText("Trusted by leading cooperators"), + screen.getByText("Trusted by leading cooperators") ).toBeInTheDocument(); }); @@ -64,7 +64,7 @@ describe("LogoWall Component", () => { const section = document.querySelector("section"); expect(section).toHaveClass( "p-[var(--spacing-scale-032)]", - "md:px-[var(--spacing-scale-024)]", + "md:px-[var(--spacing-scale-024)]" ); }); @@ -72,7 +72,7 @@ describe("LogoWall Component", () => { render(); const grid = document.querySelector( - '[class*="grid grid-cols-2 grid-rows-3"]', + '[class*="grid grid-cols-2 grid-rows-3"]' ); expect(grid).toBeInTheDocument(); expect(grid).toHaveClass("sm:grid-cols-3", "sm:grid-rows-2", "md:flex"); @@ -84,7 +84,7 @@ describe("LogoWall Component", () => { const foodNotBombsLogo = screen.getByAltText("Food Not Bombs"); expect(foodNotBombsLogo).toHaveAttribute( "src", - "assets/Section/Logo_FoodNotBombs.png", + "/assets/Section/Logo_FoodNotBombs.png" ); expect(foodNotBombsLogo).toHaveClass("h-11", "lg:h-14", "xl:h-[70px]"); }); @@ -109,7 +109,7 @@ describe("LogoWall Component", () => { render(); const logoContainers = document.querySelectorAll( - '[class*="hover:opacity-100"]', + '[class*="hover:opacity-100"]' ); expect(logoContainers.length).toBeGreaterThan(0); }); @@ -129,7 +129,7 @@ describe("LogoWall Component", () => { render(); const logoContainers = document.querySelectorAll( - '[class*="transition-opacity duration-500"]', + '[class*="transition-opacity duration-500"]' ); expect(logoContainers.length).toBeGreaterThan(0); });