From 9f6c578a46d768af4cd1fbdae5c7dda7036da7ec Mon Sep 17 00:00:00 2001 From: Lucas Bordeau Date: Mon, 18 Mar 2024 17:13:32 +0100 Subject: [PATCH] Added context (#4557) --- .../activities/emails/hooks/__tests__/useEmailThread.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/activities/emails/hooks/__tests__/useEmailThread.test.tsx b/packages/twenty-front/src/modules/activities/emails/hooks/__tests__/useEmailThread.test.tsx index c2a1fdf3a2..f68a887208 100644 --- a/packages/twenty-front/src/modules/activities/emails/hooks/__tests__/useEmailThread.test.tsx +++ b/packages/twenty-front/src/modules/activities/emails/hooks/__tests__/useEmailThread.test.tsx @@ -33,7 +33,7 @@ describe('useEmailThread', () => { expect(result.current.viewableEmailThreadId).toBe(viewableEmailThreadId); }); - it('should close email thread', () => { + it('should close email thread if trying to open the same thread id', () => { const { result } = renderHook( () => { const emailThread = useEmailThread();