From c6f0f5d9541a1f77b1837fb50bc7760ac502917c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Chopin?= Date: Wed, 24 Jul 2019 18:14:58 +0200 Subject: [PATCH] hotfix: fix config for scrollBehavior test --- test/fixtures/with-config/nuxt.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/fixtures/with-config/nuxt.config.js b/test/fixtures/with-config/nuxt.config.js index 2e6bdddfed..4cf8ce3806 100644 --- a/test/fixtures/with-config/nuxt.config.js +++ b/test/fixtures/with-config/nuxt.config.js @@ -14,6 +14,9 @@ export default { router: { base: '/test/', middleware: 'noop', + scrollBehavior (to, from, savedPosition) { + return { x: 0, y: 0 } + }, extendRoutes (routes) { return [ ...routes,