Skip to content

Commit 7d8c80f

Browse files
fix app.js patch
1 parent 4997244 commit 7d8c80f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-packages/e2e-tests/patch-scripts/rn.patch.app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Sentry.init({
3838
const e2eComponentPatch = '<EndToEndTestsScreen />';
3939
const lastImportRex = /^([^]*)(import\s+[^;]*?;$)/m;
4040
const patchRex = '@sentry/react-native';
41-
const headerComponentRex = /<Header \/>/gm;
41+
const headerComponentRex = /<ScrollView/gm;
4242

4343
const jsPath = path.join(args.app, 'App.js');
4444
const tsxPath = path.join(args.app, 'App.tsx');

0 commit comments

Comments
 (0)