paint-brush
Implementing basic Component tests using Jest and Enzymeby@lukepierotti
38,728 reads
38,728 reads

Implementing basic Component tests using Jest and Enzyme

by Luke PierottiNovember 13th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

This is the first of maybe a couple of posts that I am going to be doing on testing React components and TDD in general. This one deals with setting up the Jest and Enzyme libraries and then writing a couple basic tests for a Login component. In my next posts hopefully I’ll go into a little more detail about these libraries and about how we can test more complex components that involve Redux. So with that let’s get started!
featured image - Implementing basic Component tests using Jest and Enzyme
Luke Pierotti HackerNoon profile picture
Luke Pierotti

Luke Pierotti

@lukepierotti

L O A D I N G
. . . comments & more!

About Author

Luke Pierotti HackerNoon profile picture
Luke Pierotti@lukepierotti

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite