kriasoft / universal-router

A simple middleware-style router for isomorphic JavaScript web apps
https://www.kriasoft.com/universal-router/
MIT License
1.7k stars 105 forks source link

Fix context.next() to throw Route not found instead of TypeError #169

Closed frenzzy closed 5 years ago

frenzzy commented 5 years ago

Types of changes

Checklist:

Fixes #168

codecov-io commented 5 years ago

Codecov Report

Merging #169 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #169   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           7      7           
  Lines         181    181           
  Branches       53     53           
=====================================
  Hits          181    181
Impacted Files Coverage Δ
src/UniversalRouterSync.js 100% <100%> (ø) :arrow_up:
src/UniversalRouter.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 10527c9...faa1726. Read the comment docs.