Custom fixtures
Your task
๐จโ๐ผ In this one, you are going to implement a custom fixture called
navigate. The purpose of this fixture is to make page navigations in tests type-safe! You will use the types generated by React Router to achieve that.๐จ Start by opening the file I've created for you. Follow the steps in that file to implement the
navigate fixture.๐จ Once the fixture is ready, refactor the test suite to use the newly created
navigate() fixture.And, of course, verify that the tests are passing in the end by running
npm test. Good luck!