Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c42aa39

Browse files
authoredMar 14, 2023
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

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.