Repository navigation
Commit 0dcb7a9
test(mobile): branch naming and server controls settings tests load again
Both tests from #18381 mocked components/AppText and
components/ScreenScrollView, which moved to components/ui in #20043. The
mocks no longer matched, so the real modules loaded: BranchNamingSettings
hit the react-native mock without Text, and the server controls screen
pulled in untransformed react-native Flow source. Point the mocks at the
ui paths.
The server controls screen also renders DatabaseStorageNotice, which
loads expo modules that need __DEV__. Mock it like the other settings
sections.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent e2cc34f commit 0dcb7a9
2 files changed
Lines changed: 4 additions & 3 deletions
File tree
- apps/mobile/src/features/settings
- components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments