![]() ![]() Let's replace the default config file created by VS Code and place the following one: Step 2 Configuring jest test debugging single run If you are working on a git repository, check your.In the next step we will replace the content of this file with a new one that will let us integrate the editor with Jest.vscode including a default implementation: We got a launch.json file under the folder. A brand new launch.json file will be displayed.Click on the add configuration option in the dropdown list.We will click on the debug icon (left hand sidebar). ![]() Or you can create a project from scratch by calling npx create-react-app myappįirst of all, let's enable debugging on our project, in order to do that:.As a starting point, you can take the (create-react-app/00-start) sample.In this case, you don't have direct access to jest, so you have to execute react-scripts to get your tests working. Let's say you have created your project using the create-react-app Facebook helper. Setting up configuration for a create-react-app based project ![]() If you want to learn how to configure this step by step, keep on reading :).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |