in issue-tracker/src/routing/createRouter.js [76:82]
function matchRoute(routes, location) {
const matchedRoutes = matchRoutes(routes, location.pathname);
if (!Array.isArray(matchedRoutes) || matchedRoutes.length === 0) {
throw new Error('No route for ' + location.pathname);
}
return matchedRoutes;
}