Unit Testing with Jest

Unit testing refers to the concept of testing and evaluating the quality of each unit of functionality made available by an implementation—in this case, a Gatsby site. Though Gatsby doesn’t offer a unit testing framework out of the box for efficiency reasons, Gatsby developers can use Jest to power unit testing with a minimal amount of overhead. However, because Gatsby’s build process is slightly unusual when it comes to the sort of JavaScript that Jest deals with, standard Jest implementations need some adjustment to work properly with Gatsby sites.

NOTE

Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *