0
0
Fork 0

test: refs #6772 add onBeforeRouteUpdate

This commit is contained in:
Javier Segarra 2024-04-22 11:00:58 +02:00
parent 479422b503
commit 211b0b1215
1 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,11 @@ vi.mock('vue-router', () => ({
query: {},
params: {},
}),
onBeforeRouteUpdate: () => ({
to: 1,
from: 2,
next: vi.fn(),
}),
}));
vi.mock('axios');