From bfdd47fc92cb39c3e099f92613cb29770f173d5f Mon Sep 17 00:00:00 2001 From: iyanfdezz Date: Sat, 27 Apr 2024 12:05:25 +0200 Subject: [PATCH] Arreglados tests --- webapp/src/pages/Clasico/Clasico.js | 2 +- webapp/src/pages/Ranking/Ranking.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/pages/Clasico/Clasico.js b/webapp/src/pages/Clasico/Clasico.js index 876f94ed..1aba1225 100644 --- a/webapp/src/pages/Clasico/Clasico.js +++ b/webapp/src/pages/Clasico/Clasico.js @@ -313,7 +313,7 @@ const JuegoPreguntas = () => {

{t("pages.classic.time")} {Math.floor(timeLeft)}

-

{t("pages.classic.score")} {puntuacion}

+

{t("pages.classic.score")} {points}

{ renderComponent(); await waitFor(() => { - expect(screen.getByText("Error: Failed to fetch")).toBeInTheDocument(); + expect(screen.getByText("Failed to fetch")).toBeInTheDocument(); }); });