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