Bridgeless-context ShareModuleTest (#59279) #59279

Open
christophpurrer opened 2:37am on October 21, 2026 wants to merge 149 ฮ” into facebook/react-native main from
export-D126574357
Reviewing
36 fewer changed lines
(22% less) vs GitHub
This saves about 38.5 hours per year vs conventional diff tools
christophpurrer authored
of work during October 25
Diff Delta:
149
About 57 Diff Delta/hour
Classified as:  Feature Add, General

christophpurrer's Description of Work

Summary:

Migrate ShareModuleTest from the deprecated createCatalystContextForTest
helper to createTestReactApplicationContext, so the test builds a bridgeless
context directly. Add the ShadowSoLoader Robolectric shadow and stub the
feature flags before context creation, since the bridgeless context reads
them during init.

Changelog:
[Internal]

Differential Revision: D126574357

14 total changed files
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Loading changes...
Youโ€™ve reached the end of the pull request
Thus concludes todayโ€™s episode of โ€œJust One Small Changeโ€