Move comment to above relevant code

This commit is contained in:
mattwr18 2019-10-18 19:05:00 +02:00
parent 7e40295129
commit e37736500a

View File

@ -31,10 +31,10 @@ describe('PostSlug', () => {
$filters: { $filters: {
truncate: a => a, 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: { $route: {
hash: '', hash: '',
}, },
// 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
$router: { $router: {
history: { history: {
push: jest.fn(), push: jest.fn(),
@ -47,9 +47,6 @@ describe('PostSlug', () => {
$apollo: { $apollo: {
mutate: jest.fn().mockResolvedValue(), mutate: jest.fn().mockResolvedValue(),
}, },
$route: {
hash: '',
},
} }
}) })