Skip to content

Commit

Permalink
docs: import missing DOMWrapper on Implementation of the plugin secti…
Browse files Browse the repository at this point in the history
…on (#2519)

Co-authored-by: Brendon Silva <[email protected]>
  • Loading branch information
BrendonHenrique and Brendon Silva authored Nov 14, 2024
1 parent 26d1739 commit 12fe8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/extending-vtu/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ wrapper.findByTestId('name-input') // returns a VueWrapper or DOMWrapper
Implementation of the plugin:

```js
import { config } from '@vue/test-utils'
import { config, DOMWrapper} from '@vue/test-utils'

const DataTestIdPlugin = (wrapper) => {
function findByTestId(selector) {
Expand Down

0 comments on commit 12fe8af

Please sign in to comment.