Skip to content

Commit a451289

Browse files
authored
Update findAllComponents.md (vuejs#1859)
1 parent 38072d5 commit a451289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh/api/wrapper/findAllComponents.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ const wrapper = mount(Foo)
1919
const bar = wrapper.findAllComponents(Bar).at(0)
2020
expect(bar.exists()).toBeTruthy()
2121
const bars = wrapper.findAllComponents(Bar)
22-
expect(bar).toHaveLength(1)
22+
expect(bars).toHaveLength(1)
2323
```

0 commit comments

Comments
 (0)