Skip to content

Commit

Permalink
update example (#1635)
Browse files Browse the repository at this point in the history
  • Loading branch information
N8ers committed Jun 30, 2022
1 parent f2b5d52 commit 1c0ba48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/guide/advanced/vue-router.md
Expand Up @@ -477,6 +477,7 @@ test('allows authenticated user to edit a post', async () => {
}
})

const push = jest.spyOn(router, 'push')
await wrapper.find('button').trigger('click')

expect(push).toHaveBeenCalledTimes(1)
Expand Down

0 comments on commit 1c0ba48

Please sign in to comment.