Skip to content

Commit 660dfcb

Browse files
authored
Fix testing.md with correct path for silencing useNativeDriver (#1077)
1 parent 141b79a commit 660dfcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versioned_docs/version-6.x/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jest.mock('react-native-reanimated', () => {
2929
});
3030

3131
// Silence the warning: Animated: `useNativeDriver` is not supported because the native animated module is missing
32-
jest.mock('react-native/Libraries/Animated/src/NativeAnimatedHelper');
32+
jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper');
3333
```
3434

3535
Then we need to use this setup file in our jest config. You can add it under `setupFiles` option in a `jest.config.js` file or the `jest` key in `package.json`:

0 commit comments

Comments
 (0)