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
+16-21
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
<divalign="center">
2
-
<h1>Vue Testing Library</h1>
2
+
<h1>Vue Testing Library for Vue 2</h1>
3
+
4
+
<br />
5
+
6
+
<p>Vue Testing Library support Vue 2 in its 5.x version range. This means that <strong>any version bump within the 5.x range may include breaking changes</strong>.</p>
7
+
8
+
<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>
3
9
4
10
<br />
5
11
@@ -15,11 +21,6 @@
15
21
<p>Simple and complete Vue.js testing utilities that encourage good testing practices.</p>
16
22
17
23
<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
-
20
-
<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>
23
24
24
25
<br />
25
26
@@ -66,17 +67,11 @@
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
-
This library has `peerDependencies` listings for `Vue` and
74
+
This library has `peerDependencies` listings for `Vue v2` and
80
75
`vue-template-compiler`.
81
76
82
77
You may also be interested in installing `@testing-library/jest-dom` so you can
@@ -258,7 +253,7 @@ instead of filing an issue on GitHub.
0 commit comments