Added context (#4557)

This commit is contained in:
Lucas Bordeau 2024-03-18 17:13:32 +01:00 committed by GitHub
parent 872fb2bd49
commit 9f6c578a46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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();