UBERF-11411: Fix formatting

Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
Artem Savchenko 2025-06-03 12:00:02 +07:00
parent 592cf1f9d8
commit 975837ed0e

View File

@ -141,9 +141,9 @@ describe('ChannelCache', () => {
const error = new Error('Database error')
mockClient.findOne.mockRejectedValue(error)
await expect(channelCache.getOrCreateChannel(spaceId, participants, emailAccount, personId))
.rejects
.toThrow('Failed to create channel for test@example.com in space test-space-id: Database error')
await expect(channelCache.getOrCreateChannel(spaceId, participants, emailAccount, personId)).rejects.toThrow(
'Failed to create channel for test@example.com in space test-space-id: Database error'
)
expect(mockCtx.error).toHaveBeenCalledWith('Failed to create channel', {
me: emailAccount,