Skip to content

Commit

Permalink
docs: remove unneeded flushPromises (#1895)
Browse files Browse the repository at this point in the history
Fixes #1894
  • Loading branch information
evandroguedes committed Dec 5, 2022
1 parent 92d5106 commit d348210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/advanced/vue-router.md
Expand Up @@ -451,7 +451,7 @@ Using a real router with Composition API works the same as using a real router w
a good practice to instantiate a new router object for each test, instead of importing the router directly from your app.

```js
import { mount, flushPromises } from '@vue/test-utils'
import { mount } from '@vue/test-utils'
import { createRouter, createWebHistory } from 'vue-router'
import { routes } from "@/router"

Expand Down

0 comments on commit d348210

Please sign in to comment.