Bug: Using a real router with Composition API
example is missing push
#1632
Labels
bug
Something isn't working
Describe the bug
In the docs there is a code example for Using a real router with Composition API. Here is the code example in it's current state:
In the assertion
expect(push).toHaveBeenCalledTimes(1)
, we access thepush
variable, butpush
is not defined anywhere.How should that be handled? Am I just missing something? I'd be happy to put up a PR for it if anyone has an answer!
The text was updated successfully, but these errors were encountered: