Skip to content

Commit f08e698

Browse files
Fix jest
1 parent 96e3a10 commit f08e698

3 files changed

Lines changed: 1 addition & 13 deletions

File tree

packages/react-native-reanimated/src/component/SharedTransitionBoundary.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ const styles = StyleSheet.create({
2525
display: 'contents',
2626
},
2727
});
28-
29-
export default SharedTransitionBoundary;

packages/react-native-reanimated/src/jestUtils/index.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,6 @@ import type {
1313
} from '../createAnimatedComponent/commonTypes';
1414
import type { DefaultStyle } from '../hook/commonTypes';
1515

16-
// // Mock RNReanimatedSharedTransitionBoundary
17-
// jest.mock(
18-
// 'react-native-reanimated/lib/module/specs/RNReanimatedSharedTransitionBoundaryNativeComponent',
19-
// () => ({})
20-
// );
21-
// jest.mock(
22-
// 'react-native-reanimated/src/specs/RNReanimatedSharedTransitionBoundaryNativeComponent',
23-
// () => ({})
24-
// );
25-
2616
declare global {
2717
namespace jest {
2818
interface Matchers<R> {

packages/react-native-reanimated/src/specs/SharedTransitionBoundaryNativeComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import type { HostComponent, ViewProps } from 'react-native';
33
import { codegenNativeComponent } from 'react-native';
44

5-
export interface NativeProps extends ViewProps {
5+
interface NativeProps extends ViewProps {
66
isActive: boolean;
77
}
88

0 commit comments

Comments
 (0)