Skip to content

Commit 0d8f6c8

Browse files
committed
refactor: clean up IterableInbox test by removing unused debug statement
1 parent a390ba3 commit 0d8f6c8

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

src/inbox/components/IterableInbox.test.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,6 @@ describe('IterableInbox', () => {
548548
).toBeTruthy();
549549
});
550550

551-
inbox.debug();
552551
timingSpy.mockClear();
553552

554553
// Change the trigger
@@ -736,12 +735,12 @@ describe('IterableInbox', () => {
736735

737736
describe('Message List Item Layout', () => {
738737
it('should use messageListItemLayout when provided', async () => {
739-
const messageListItemLayout = jest
740-
.fn()
741-
.mockReturnValue([
742-
<Text key="custom-layout" testID="custom-layout">Custom Layout</Text>,
743-
200,
744-
]);
738+
const messageListItemLayout = jest.fn().mockReturnValue([
739+
<Text key="custom-layout" testID="custom-layout">
740+
Custom Layout
741+
</Text>,
742+
200,
743+
]);
745744

746745
const component = render(
747746
<IterableInbox

0 commit comments

Comments
 (0)