mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-08 03:08:13 +00:00
chore: prettier formatting
This commit is contained in:
parent
6b68fa0252
commit
53246c9495
2 changed files with 2 additions and 4 deletions
|
|
@ -142,4 +142,4 @@ export function useAutoScroll<T>(
|
|||
isAtBottom,
|
||||
scrollToBottom,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -267,9 +267,7 @@ describe('useAutoScroll', () => {
|
|||
});
|
||||
|
||||
it('attaches the observer when the messages wrapper first appears and disconnects on unmount', () => {
|
||||
const { rerender, unmount } = render(
|
||||
<AutoScrollHarness messages={[]} isChatLoading={false} />,
|
||||
);
|
||||
const { rerender, unmount } = render(<AutoScrollHarness messages={[]} isChatLoading={false} />);
|
||||
|
||||
expect(screen.queryByTestId('messages-container')).toBeNull();
|
||||
expect(resizeObserverInstances).toHaveLength(0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue