You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you install Vue Router, the `router-link` and `router-view` components are registered. This means we can use them anywhere in our application without needing to import them.
23
24
24
-
When we run tests, we need to make these vue-router components available to the component we're mounting. There are two methods to do this.
25
+
When we run tests, we need to make these Vue Router components available to the component we're mounting. There are two methods to do this.
Sometimes you want to test that a component does something with parameters from the `$route` and `$router` objects. To do that, you can pass custom mocks to the Vue instance.
0 commit comments