Repository navigation
Commit 853a865
Bridgeless-context BlobModuleTest (#59281)
Summary:
Pull Request resolved: #59281
Migrate `BlobModuleTest` 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: D1265743621 parent 6d55e7b commit 853a865
1 file changed
Lines changed: 6 additions & 2 deletions
File tree
- packages/react-native/ReactAndroid/src/test/java/com/facebook/react/modules/blob
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | | - | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
51 | | - | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
0 commit comments