You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-11
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
<divalign="center">
2
-
<h1>Vue Testing Library</h1>
2
+
<h1>Vue Testing Library for Vue 2</h1>
3
3
4
4
<br />
5
5
@@ -15,11 +15,12 @@
15
15
<p>Simple and complete Vue.js testing utilities that encourage good testing practices.</p>
16
16
17
17
<p>Vue Testing Library is a lightweight adapter built on top of <ahref="https://github.com/testing-library/dom-testing-library/">DOM Testing Library</a> and <ahref="https://github.com/vuejs/vue-test-utils">@vue/test-utils</a>.</p>
18
-
19
-
18
+
20
19
<br />
21
-
22
-
<p>If you're looking for the Vue 3 version of Vue Testing Library, check out the <ahref="https://github.com/testing-library/vue-testing-library/tree/next">next</a> branch.</p>
20
+
21
+
<p>If you're looking for the Vue 3 version of Vue Testing Library, check out the <ahref="https://github.com/testing-library/vue-testing-library/tree/main">main</a> branch.</p>
22
+
23
+
<p>Vue Testing Library support Vue 2 in its 5.x version range. Bear in mind that it means that <strong>any version bump in the 5.x range may include breaking changes</strong>.</p>
23
24
24
25
<br />
25
26
@@ -66,16 +67,10 @@
66
67
This module is distributed via `npm` and should be installed as one of your
67
68
project's `devDependencies`:
68
69
69
-
If using Vue 2
70
70
```
71
71
npm install --save-dev @testing-library/vue@5
72
72
```
73
73
74
-
If using Vue 3
75
-
```
76
-
npm install --save-dev @testing-library/vue
77
-
```
78
-
79
74
This library has `peerDependencies` listings for `Vue` and
0 commit comments