Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9648c3f

Browse filesBrowse files
docs: Fix typos and add clarity (#1959)
1 parent 555d377 commit 9648c3f
Copy full SHA for 9648c3f

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎docs/api/wrapper/findComponent.md

Copy file name to clipboardExpand all lines: docs/api/wrapper/findComponent.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ expect(barRef.exists()).toBe(true)
2626
```
2727

2828
::: warning Usage with CSS selectors
29-
Using `findAllComponents` with CSS selector might have confusing behavior
29+
Using `findComponent` with a CSS selector might have confusing behavior
3030

3131
Consider this example:
3232

@@ -50,5 +50,5 @@ const childByCss = wrapper.findComponent('.child')
5050
expect(childByCss.vm.$options.name).toBe('Root') // => still Root
5151
```
5252

53-
The reason for such behavior is that `RootComponent` and `ChildComponent` are sharing same DOM node and only first matching component is included for each unique DOM node
53+
The reason for such behavior is that `RootComponent` and `ChildComponent` are sharing the same DOM node and only the first matching component is returned for each unique DOM node
5454
:::

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.