From 25f2fc358db94710daa9a2919eb1ae9f45922973 Mon Sep 17 00:00:00 2001 From: roschaefer Date: Fri, 18 Oct 2019 00:21:43 +0200 Subject: [PATCH] fix: console warnings during frontend tests --- webapp/pages/post/_id/_slug/index.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webapp/pages/post/_id/_slug/index.spec.js b/webapp/pages/post/_id/_slug/index.spec.js index e0fa6556a..290c3391d 100644 --- a/webapp/pages/post/_id/_slug/index.spec.js +++ b/webapp/pages/post/_id/_slug/index.spec.js @@ -32,6 +32,9 @@ describe('PostSlug', () => { truncate: a => a, }, // If you are mocking the router, then don't use VueRouter with localVue: https://vue-test-utils.vuejs.org/guides/using-with-vue-router.html + $route: { + hash: '', + }, $router: { history: { push: jest.fn(),