Skip to content

Commit

Permalink
test: mock GoogleMobileAdsNativeViewNativeComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
wjaykim committed Nov 20, 2024
1 parent 6574016 commit e67497c
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 @@ -47,3 +47,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 e67497c

Please sign in to comment.