Skip to content

Commit 351229c

Browse files
tBibautafontcu
authored andcommitted
Update vue-router.md
Add missing async in test function.
1 parent 844d886 commit 351229c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guide/advanced/vue-router.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ const router = createRouter({
216216
// omitted for brevity
217217
})
218218

219-
test('routing', () => {
219+
test('routing', async () => {
220220
router.push('/')
221221

222222
// After this line, router is ready

0 commit comments

Comments
 (0)