Skip to content

Commit 88a6e02

Browse files
committed
fix missing return statement
1 parent c7e6b6a commit 88a6e02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

versioned_docs/version-7.x/testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ To add the mocks, create a file `jest/setup.js` (or any other file name of your
2929
import 'react-native-gesture-handler/jestSetup';
3030

3131
// Include this section for mocking react-native-reanimated
32-
jest.mock('react-native-reanimated', () => {
33-
require('react-native-reanimated/mock');
34-
});
32+
jest.mock('react-native-reanimated', () =>
33+
require('react-native-reanimated/mock')
34+
);
3535

3636
// Silence the warning: Animated: `useNativeDriver` is not supported because the native animated module is missing
3737
jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper');

0 commit comments

Comments
 (0)