Repository navigation
Commit 8d344a3
committed
test(theme): fix useFocusFadeIn tests on iOS jest env
The hook skips animations when isIOS is true; mock @theme/responsive
in the test so Animated.timing is actually invoked.1 parent b3416d1 commit 8d344a3
2 files changed
Lines changed: 7 additions & 0 deletions
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
0 commit comments