February 2019
Intermediate to advanced
204 pages
4h 52m
English
Setting up Jest is pretty straightforward and painless. You can access the entire code used in this chapter in the GitHub repository, inside of the CH02 folder. However, we suggest that you get started with an empty folder and walk through the hands-on tutorial, in order to get familiar with the process.
Create an empty folder and initialize it with YARN or npm. In this book, we will use YARN, but feel free to explore. To initialize the project, open a Terminal of your choice and run the following commands:
mkdir CHO2cd CHO2yarn initGalaxy-A7-2017:CH02 sureshkumarmukhiyahvl$ yarn inityarn init v1.12.1question name (CH02): testing-redux-applicationquestion version (1.0.0): ...
Read now
Unlock full access