forked from verdnatura/salix-front
test: refs #6772 add onBeforeRouteUpdate
This commit is contained in:
parent
479422b503
commit
211b0b1215
|
@ -32,6 +32,11 @@ vi.mock('vue-router', () => ({
|
||||||
query: {},
|
query: {},
|
||||||
params: {},
|
params: {},
|
||||||
}),
|
}),
|
||||||
|
onBeforeRouteUpdate: () => ({
|
||||||
|
to: 1,
|
||||||
|
from: 2,
|
||||||
|
next: vi.fn(),
|
||||||
|
}),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
vi.mock('axios');
|
vi.mock('axios');
|
||||||
|
|
Loading…
Reference in New Issue