Skip to content

Commit 3e7d51f

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Migrate UIManager.getViewManagerConfig -> UIManager.hasViewManagerConfig in ViewAppearanceFlagView
Summary: This diff and stack migratest Migrate UIManager.getViewManagerConfig -> UIManager.hasViewManagerConfig This is necessary to avoid initializing UIManagerModule to detect if a component is registered into the native platform changelog: [internal] internal Reviewed By: sammy-SC Differential Revision: D27276526 fbshipit-source-id: f3cc0218506ea2066a0d85f956b15a0e40f2e072
1 parent 4cc3aa8 commit 3e7d51f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jest/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jest
7070
}
7171
}),
7272
hasViewManagerConfig: jest.fn(name => {
73-
return true;
73+
return name === 'AndroidDrawerLayout';
7474
}),
7575
measure: jest.fn(),
7676
manageChildren: jest.fn(),

0 commit comments

Comments
 (0)