Skip to content

Commit cba21a1

Browse files
committed
test: mock GoogleMobileAdsNativeViewNativeComponent
1 parent 4306143 commit cba21a1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

jest.setup.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,10 @@ jest.doMock('./src/specs/components/GoogleMobileAdsBannerViewNativeComponent', (
5050
default: ReactNative.View,
5151
};
5252
});
53+
jest.doMock('./src/specs/components/GoogleMobileAdsNativeViewNativeComponent', () => {
54+
return {
55+
__esModule: true,
56+
Commands: {},
57+
default: ReactNative.View,
58+
};
59+
});

0 commit comments

Comments
 (0)