Skip to content

Commit c6abf15

Browse files
Fix: Properly mock navigation.setOptions in GroupListScreen tests to resolve CI failure.
1 parent d0701c6 commit c6abf15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/mobile/app/screens/GroupListScreen.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe('GroupListScreen', () => {
1616

1717
const { getByText } = render(
1818
<PaperProvider>
19-
<GroupListScreen navigation={{ navigate: jest.fn() }} />
19+
<GroupListScreen navigation={{ navigate: jest.fn(), setOptions: jest.fn() }} />
2020
</PaperProvider>,
2121
);
2222

0 commit comments

Comments
 (0)