Skip to content

Commit 2bce4e1

Browse files
committed
test: adjust Thread.test.js
1 parent d818614 commit 2bce4e1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/components/Thread/__tests__/Thread.test.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -330,12 +330,6 @@ describe('Thread', () => {
330330
expect(channelActionContextMock.loadMoreThread).toHaveBeenCalledTimes(1);
331331
});
332332

333-
it('should not call the loadMoreThread callback on mount if the thread start has a non-zero reply count but threadInstance is provided', () => {
334-
renderComponent({ channelStateOverrides: { threadInstance: {} }, chatClient });
335-
336-
expect(channelActionContextMock.loadMoreThread).not.toHaveBeenCalled();
337-
});
338-
339333
it('should render null if replies is disabled', async () => {
340334
const client = await getTestClientWithUser();
341335
const ch = generateChannel({ getConfig: () => ({ replies: false }) });

0 commit comments

Comments
 (0)