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

Pubblicato il: 14 settembre 2022
sul canale di: 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


In questa pagina del sito puoi guardare il video online Adding Component Test Coverage with React Native Testing Library, part 2 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato CodingItWrong 14 settembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,438 volte e gli è piaciuto 19 spettatori. Buona visione!