mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Merge pull request #1942 from Human-Connection/fix_frontend_tests
fix: console warnings during frontend tests
This commit is contained in:
commit
86d8f833ee
@ -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