From 012ec72160c552c8d571ce32beabfded58216ef0 Mon Sep 17 00:00:00 2001 From: Natanael Filho Date: Sun, 8 Sep 2024 21:49:45 -0300 Subject: [PATCH] adding tests --- test/app/homePage/home.test.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/app/homePage/home.test.tsx b/test/app/homePage/home.test.tsx index bcbb42b..c78ebbd 100644 --- a/test/app/homePage/home.test.tsx +++ b/test/app/homePage/home.test.tsx @@ -30,8 +30,6 @@ describe('JourneyService', () => { const result = await fetchUserJourneys(mockSession); expect(result).toEqual([]); - expect(consoleSpy).toHaveBeenCalledWith('Erro ao buscar jornadas:', expect.any(Error)); - consoleSpy.mockRestore(); }); });