so I'm trying to test each Route component and url are matching
the function
const App = () => (
<Provider store={store}>
<Router>
<Layout>
<Switch>
<Route exact path='/' component={HomePage} />
<Route exact path='/login' component={LoginPage} />
<Route exact path='/signup' component={SignupPage} />
<Route exact path='/recipes' component={RecipesPage} />
<Route exact path='/recipes/:id' component={RecipeDetailPage} />
<Route exact path='/reset_password' component={ResetPasswordPage} />
<Route exact path='/password/reset/confirm/:uid/:token' component={ResetPasswordConfirmPage} />
<Route component={NotFound} />
</Switch>
</Layout>
</Router>
</Provider>
);
anyone has an idea how can i test this?