Test JavaScript with Jest

InstructorKent C. Dodds

Share this video with your friends

Send Tweet

Let's learn how to unit test your JavaScript with Jest, a JavaScript unit testing framework from Facebook. We'll install and optimize Jest for this project and see how quick and easy it is to get things going with Jest.

ronald haring
~ 6 years ago

hmmm followed along however npm t gave me echo "Error: no test specified" && exit 1

ronald haring
~ 6 years ago

lol ok found it its defined in package.json as such, still wondering why you did not have that though

Ajay Kumar
~ 5 years ago

If somebody has used create-react-app to generate the boilerplate code than I suggest to skip the configuration as the boilerplate is already pre-configured to run using jest.