react-native-testing-library icon indicating copy to clipboard operation
react-native-testing-library copied to clipboard

docs(cookbook): network requests recipes

Open vanGalilea opened this issue 1 year ago • 1 comments

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
simulator_screenshot_97B8088A-0622-4AE4-81A6-A6EEE7ABF527 Screenshot_1724824468

Possible spin offs

  • [ ] Add an 'msw' recipe under the "Network Requests Recipes" sec.

vanGalilea avatar Aug 28 '24 05:08 vanGalilea

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.

codecov[bot] avatar Aug 28 '24 05:08 codecov[bot]

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 👍🏻

vanGalilea avatar Sep 18 '24 05:09 vanGalilea