Friday Picks 046

Read more →

Friday Picks 045

Read more →

More Learning Resources During COVID-19 Outbreak Part 3

Read more →

Friday Picks 040

Read more →

Friday Picks 036

Read more →

Friday Picks 035

Read more →

Friday Picks 034

Read more →

Friday Picks 032

Read more →

Test Redirect With Jest, React-Router and React-Testing-Library

You’ve set up react-testing-library with Jest and react-router. You want to check that a component successfully redirects to another page. But how? Your React application comes with a protected route. If a user is not authenticated, the app should redirect the user to the login screen. You’ve managed to set up react-router-dom for your component. For example, here’s an excerpt from a UserStatus.jsx component that only an authenticated user should be able to access:
Read more →

Month of Testdriven Python and React

Read more →