Adding Component Test Coverage with React Native Testing Library, part 2

Published: 14 September 2022
on channel: CodingItWrong
1,438
19

In this week's stream we:

Test an ErrorMessage component to attempt to ensure it doesn't render anything when there is no error message
Tell our code coverage tool that we don't want to unit test a file that doesn't have any logical branches
Test a custom React Navigation navbar to ensure buttons function and conditionally appear correctly
Test a branch that wasn't covered by our "deep" integration tests by handling an edge case


On this page of the site you can watch the video online Adding Component Test Coverage with React Native Testing Library, part 2 with a duration of hours minute second in good quality, which was uploaded by the user CodingItWrong 14 September 2022, share the link with friends and acquaintances, this video has already been watched 1,438 times on youtube and it was liked by 19 viewers. Enjoy your viewing!