hotfix: fix config for scrollBehavior test

This commit is contained in:
Sébastien Chopin 2019-07-24 18:14:58 +02:00
parent f7cb3dae0f
commit c6f0f5d954

View File

@ -14,6 +14,9 @@ export default {
router: { router: {
base: '/test/', base: '/test/',
middleware: 'noop', middleware: 'noop',
scrollBehavior (to, from, savedPosition) {
return { x: 0, y: 0 }
},
extendRoutes (routes) { extendRoutes (routes) {
return [ return [
...routes, ...routes,