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!

Please set the playground first

Loading "Custom fixtures"
Loading "Custom fixtures"