Skip to content

Commit c42aa39

Browse files
Update faq.mdx
Fixed the following issue: testing-library/vue-testing-library#291
1 parent d2a6fc2 commit c42aa39

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)