Closed skirtles-code closed 4 months ago
Name | Link |
---|---|
Latest commit | 364cd0490b9c7c0ff552951c96b62f34289305ed |
Latest deploy log | https://app.netlify.com/sites/vue-router/deploys/65e27d8ab04dbe0008af77a3 |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.90%. Comparing base (
13303bd
) to head (364cd04
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This adds a warning when calling
router.addRoute('foo', { ... })
if the parent route isn't found.Without this warning, it can be difficult to tell why
addRoute
isn't working correctly. With an absolute path, beginning with/
, the addition seems to succeed, but the new route won't be a child of the intended parent. With a relative path, it'll fail to add the new route, but with a confusing error about thepath
being invalid.I've also added a test for the similar warning in
removeRoute
, though the warning itself already existed.