Skip to content

Demonstrates a project made via create-react-app that allows debugging of unit tests in VS Code

Notifications You must be signed in to change notification settings

steve-tennantsl/React-Typescript-Debug-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debugging Unit Tests

This project demonstrates the config needed to debug into unit tests while using TypeScript. To do so simply place a breakpoint in the App.test.tsx file and use the 'Debug test single run' configuration in your Run and Debug window in Visual Studio Code. Make sure you run an npm install if this is your first time loading the project.

The configuration for the debug run can be found in the .vscode/ launch.json file. This configuration is based on a tutorial that can be found here.

About

Demonstrates a project made via create-react-app that allows debugging of unit tests in VS Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published