This commit is contained in:
ogerly 2022-08-16 10:21:57 +02:00
parent d6d4d97151
commit 1243615356

View File

@ -6,6 +6,7 @@ import { toastErrorSpy } from '@test/testSetup'
const localVue = global.localVue
const mockRouterReplace = jest.fn()
const windowScrollToMock = jest.fn()
window.scrollTo = windowScrollToMock
@ -39,6 +40,9 @@ describe('Transactions', () => {
$apollo: {
query: apolloMock,
},
$router: {
replace: mockRouterReplace,
},
}
const Wrapper = () => {