Skip to content

Commit

Permalink
fix: LayoutAnimationConfig mock
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Feb 11, 2025
1 parent a6bd34f commit df606fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions jest/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jest.mock('react-native-reanimated', () => ({
...jest.requireActual<typeof Animated>('react-native-reanimated/mock'),
createAnimatedPropAdapter: jest.fn,
useReducedMotion: jest.fn,
LayoutAnimationConfig: jest.fn,
}));

jest.mock('react-native-keyboard-controller', () => require<typeof RNKeyboardController>('react-native-keyboard-controller/jest'));
Expand Down
1 change: 1 addition & 0 deletions src/components/Modal/BottomDockedModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,4 +222,5 @@ function BottomDockedModal({
);
}

BottomDockedModal.displayName = 'BottomDockedModal';
export default BottomDockedModal;

0 comments on commit df606fb

Please sign in to comment.