Skip to content

Commit 3bf4097

Browse files
committed
update docs
1 parent 122c009 commit 3bf4097

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/migration/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,15 +309,15 @@ This is table for those coming from VTU 1, comparing the two APIs.
309309
| attachToDocument | renamed `attachTo`. See [here](https://github.com/vuejs/vue-test-utils/pull/1492) |
310310
| scopedSlots | removed. ScopedSlots are merged with `slots` in Vue 3 |
311311
| context | removed. Different from Vue 2, does not make sense anymore. |
312-
| localVue | removed. No longer required - Vue 3 there is no global Vue instance to mutate. |
312+
| localVue | removed. No longer required - in Vue 3 there is no global Vue instance to mutate. |
313313
| listeners | removed. No longer exists in Vue 3 |
314314
| parentComponent | removed |
315315
316316
### Wrapper API (mount)
317317
318318
| method | notes |
319319
|----------------|---------------------------------------------------------------------------------------------|
320-
| find | only `querySelector` syntax is supported. Use `findComponent(Comp)` |
320+
| find | only `querySelector` syntax is supported. Use `findComponent(Comp)` to find a Vue component |
321321
| setValue | works for select, checkbox, radio button, input, textarea. Returns `nextTick`. |
322322
| trigger | returns `nextTick`. You can do `await wrapper.find('button').trigger('click')` |
323323
| destroy | renamed to `unmount` to match Vue 3 lifecycle hook name. |
@@ -326,7 +326,7 @@ This is table for those coming from VTU 1, comparing the two APIs.
326326
| setSelected | removed. Now part of `setValue` |
327327
| setChecked | removed. Now part of `setValue` |
328328
| is | removed |
329-
| isEmpty | removed. use matchers such as [this](https://github.com/testing-library/jest-dom#tobeempty) |
329+
| isEmpty | removed. Use matchers such as [this](https://github.com/testing-library/jest-dom#tobeempty) |
330330
| isVueInstance | removed |
331331
| name | removed |
332332
| setMethods | removed |

0 commit comments

Comments
 (0)