You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/testing.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -450,7 +450,7 @@ In the above test, we:
450
450
- Run all timers using `jest.runAllTimers()` to skip animations (e.g. navigation animation between screens).
451
451
- Assert that the `Surprise!` text is visible after the transition to the Surprise screen is complete.
452
452
453
-
### Fetching data `useFocusEffect`
453
+
### Fetching data with `useFocusEffect`
454
454
455
455
In this example, we have a bottom tab navigator with two tabs: Home and Pokemon. We will write a test that asserts the data fetching logic on focus in the Pokemon screen.
0 commit comments