Repository navigation
Commit 0603b23
Bridgeless-context ReactScrollViewHelperFlingAnimatorTest (#59277)
Summary:
Pull Request resolved: #59277
Migrate `ReactScrollViewHelperFlingAnimatorTest` from the deprecated
`createCatalystContextForTest` helper to `createTestReactApplicationContext`,
so the test builds a bridgeless context directly. Stub the feature flags
before context creation, since the bridgeless context reads them during init.
Changelog:
[Internal]
Reviewed By: javache
Differential Revision: D126574358
fbshipit-source-id: bfed4619667e1e997e45d8fe2101d412d2b318191 parent 28ed174 commit 0603b23
1 file changed
Lines changed: 4 additions & 1 deletion
File tree
- packages/react-native/ReactAndroid/src/test/java/com/facebook/react/views/scroll
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | | - | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
0 commit comments