Testing Routes
Learn to test routes in React Router in this lesson.
We'll cover the following...
Starter project
The project for this lesson is the completed project from the last lesson. In this lesson, we will add tests to verify the different paths can be navigated to and the pages rendered correctly.
Testing the /newperson
path
We’ll write the tests on this App
component, where the React Router routes are declared. Create a file called App.test.js
adjacent to ...
Access this course and 1400+ top-rated courses and projects.