mock replace in route.path, stub last transactions

This commit is contained in:
Moriz Wahl 2023-01-16 11:37:13 +01:00
parent 031da1b028
commit 82a6c61633

View File

@ -15,6 +15,7 @@ const routerPushMock = jest.fn()
const stubs = {
RouterLink: RouterLinkStub,
RouterView: true,
LastTransactions: true,
}
const mocks = {
@ -29,6 +30,9 @@ const mocks = {
meta: {
hideFooter: false,
},
path: {
replace: jest.fn(),
},
},
$router: {
push: routerPushMock,