react-native-testing-library
react-native-testing-library copied to clipboard
docs(cookbook): network requests recipes
Summary
As part of our RNTL Cookbook serie I've composed 'Network Request' recipes for fetch & Axios
Test plan
Sanity check Cookbook app
- Run the Cookbook app > Click on "Phonebook.."
- Verify rendering of contact and favorites list
Sanity check recipes docs
- Run the website app
- Ensure you can navigate to "Network Requests Recipes"
- Read and review "Axios" & "Fetch" recipes
Visuals
| iOS | Android |
|---|---|
Possible spin offs
- [ ] Add an 'msw' recipe under the "Network Requests Recipes" sec.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.20%. Comparing base (
a282d1e) to head (d7acda3). Report is 71 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #1655 +/- ##
==========================================
- Coverage 95.51% 95.20% -0.31%
==========================================
Files 99 99
Lines 5400 5553 +153
Branches 857 875 +18
==========================================
+ Hits 5158 5287 +129
- Misses 242 266 +24
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Looks good! Great work @vanGalilea.
Do you want to change anything or can we merge it and publish?
Let's merge and I might add Tanstack in the near future to it.
Thanks for the extensive review and thinking along 👍🏻