mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix: console warnings during frontend tests
This commit is contained in:
parent
227239cc8b
commit
25f2fc358d
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user