Skip to content

Commit 71a6d6d

Browse files
committed
test(app): mock new removeListeners method
this quiets a warning during jest testing about missing method on the native module
1 parent c2291a1 commit 71a6d6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jest.setup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jest.doMock('react-native', () => {
2828
addListener: jest.fn(),
2929
eventsAddListener: jest.fn(),
3030
eventsNotifyReady: jest.fn(),
31+
removeListeners: jest.fn(),
3132
},
3233
RNFBAuthModule: {
3334
APP_LANGUAGE: {

0 commit comments

Comments
 (0)