Skip to content

Commit

Permalink
test: mock GoogleMobileAdsNativeViewNativeComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
wjaykim committed Dec 25, 2024
1 parent 4306143 commit cba21a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jest.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ jest.doMock('./src/specs/components/GoogleMobileAdsBannerViewNativeComponent', (
default: ReactNative.View,
};
});
jest.doMock('./src/specs/components/GoogleMobileAdsNativeViewNativeComponent', () => {
return {
__esModule: true,
Commands: {},
default: ReactNative.View,
};
});

0 comments on commit cba21a1

Please sign in to comment.