mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
mock replace in route.path, stub last transactions
This commit is contained in:
parent
031da1b028
commit
82a6c61633
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user