Skip to content

Commit

Permalink
Merge pull request #37018 from JKobrynski/migrateReactNativeWebviewMo…
Browse files Browse the repository at this point in the history
…ckToTypeScript
  • Loading branch information
francoisl authored Feb 27, 2024
2 parents b4ed533 + 6ce0363 commit 9d49ee5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import type {View as RNView} from 'react-native';

jest.mock('react-native-webview', () => {
const {View} = require('react-native');
return {
WebView: () => View,
WebView: () => View as RNView,
};
});

0 comments on commit 9d49ee5

Please sign in to comment.