8000 Warn about root paths without a leading slash (fix #2550) by Sayegh7 · Pull Request #2591 · vuejs/vue-router · GitHub
[go: up one dir, main page]

Skip to content

Warn about root paths without a leading slash (fix #2550) #2591

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 30, 2019
Merged
Prev Previous commit
Next Next commit
fix(create-route-map): remove leftover console.log
  • Loading branch information
Sayegh7 committed Aug 25, 2019
commit a094f45044b8979e6588e90bc841d6ad47887444
1 change: 0 additions & 1 deletion test/unit/specs/create-map.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ describe('Creating Route Map', function () {
process.env.NODE_ENV = 'development'
maps = createRouteMap(routes)
expect(console.warn).toHaveBeenCalledTimes(1)
console.log(console.warn.calls.argsFor(1))
expect(console.warn.calls.argsFor(0)[0]).toMatch('vue-router] Named Route \'bar\'')
})

Expand Down
0