Skip to content

Commit 0a02f34

Browse files
authored
docs(vue): Fix stubs example (#1236)
FAQ documentation updated
2 parents d2a6fc2 + c42aa39 commit 0a02f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/vue-testing-library/faq.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ import Component from './Component'
5151

5252
test('Can stub components', () => {
5353
render(Component, {
54-
stubs: ['FontAwesomeIcon'],
54+
global: { stubs: ['FontAwesomeIcon'] },
5555
})
5656
})
5757
```

0 commit comments

Comments
 (0)