Skip to content

Commit 0bff3eb

Browse files
authored
Merge pull request #140 from cnschwarz/master
chore: adjust duplicate sentence part in README.md
2 parents 1853ec4 + bfc998c commit 0bff3eb

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ The next iteration of Vue Test Utils. It targets Vue 3.
99

1010
## Coming from Vue 2 + Vue Test Utils beta?
1111

12-
We are working on some documentation to help people migrate. At this point it will you will have better luck trying this out with a brand new Vue 3 app, as opposed to upgrading an existing Vue 2 app. Feedback and bug reports are welcome!
12+
We are working on some documentation to help people migrate. At this point you will have better luck trying this out with a brand new Vue 3 app, as opposed to upgrading an existing Vue 2 app. Feedback and bug reports are welcome!
1313

1414
## Working with `.vue` files
1515

16-
There is [`vue-jest`](https://github.com/vuejs/vue-jest) for loading `.vue` files into Jest. The `next` branch contains support for Vue 3. Install it with `yarn add vue-jest@next`. It lacks support for some things, namely JSX.
16+
There is [`vue-jest`](https://github.com/vuejs/vue-jest) for loading `.vue` files into Jest. The `next` branch contains support for Vue 3. Install it with `yarn add vue-jest@next`. It lacks support for some things, namely JSX.
1717

1818
If you don't want to configure things, you can download a repository with Vue 3, `@vue/test-utils@next`, `vue-jest@next` and TypeScript configured [here](https://github.com/lmiller1990/vtu-next-demo).
1919

@@ -60,9 +60,9 @@ mixins | ✅ | (new!) nested in [`global`](https://vuejs.github.io/vue-test-util
6060
plugins | ✅ | (new!) nested in [`global`](https://vuejs.github.io/vue-test-utils-next-docs/api/#global)
6161
component | ✅ | (new!) nested in [`global`](https://vuejs.github.io/vue-test-utils-next-docs/api/#global)
6262
directives | ✅ | (new!) nested in [`global`](https://vuejs.github.io/vue-test-utils-next-docs/api/#global)
63-
stubs | ✅
63+
stubs | ✅
6464
attachToDocument |✅| renamed `attachTo`. See [here](https://github.com/vuejs/vue-test-utils/pull/1492)
65-
attrs | ✅
65+
attrs | ✅
6666
scopedSlots | ⚰️ | scopedSlots are merged with slots in Vue 3
6767
context | ⚰️ | different from Vue 2, does not make sense anymore.
6868
localVue | ⚰️ | may not make sense anymore since we do not mutate the global Vue instance in Vue 3.
@@ -75,7 +75,7 @@ parentComponent | ⚰️ |
7575
| method | status | notes |
7676
|---------|-------|------|
7777
attributes | ✅
78-
classes | ✅
78+
classes | ✅
7979
exists | ✅
8080
find | ✅ | only `querySelector` syntax is supported. `find(Comp)` under discussion [here](https://github.com/vuejs/vue-test-utils/issues/1498)
8181
emitted | ✅
@@ -89,14 +89,14 @@ setProps | ✅ |
8989
props | ✅
9090
setData | ❌ | has PR
9191
destroy | ✅ | renamed to `unmount` to match Vue 3 lifecycle hook name.
92-
props | ✅
93-
contains | ⚰️| use `find`
92+
props | ✅
93+
contains | ⚰️| use `find`
9494
emittedByOrder | ⚰️ | use `emitted`
95-
setSelected | ⚰️ | now part of `setValue`
96-
setChecked | ⚰️| now part of `setValue`
97-
is | ⚰️
95+
setSelected | ⚰️ | now part of `setValue`
96+
setChecked | ⚰️| now part of `setValue`
97+
is | ⚰️
9898
isEmpty | ⚰️ | use matchers such as [this](https://github.com/testing-library/jest-dom#tobeempty)
9999
isVisible | ⚰️ | use matchers such as [this](https://github.com/testing-library/jest-dom#tobevisible)
100-
isVueInstance | ⚰️
100+
isVueInstance | ⚰️
101101
name | ⚰️ |
102-
setMethods | ⚰️ |
102+
setMethods | ⚰️ |

0 commit comments

Comments
 (0)