1616
1717<br />
1818
19- [ ** Read the Docs** ] [ docs ] |
20- [ Edit the docs] [ docs-edit ]
19+ [ ** Read the Docs** ] [ docs ] | [ Edit the docs] [ docs-edit ]
2120
2221<br />
2322
4645
4746## Installation
4847
49- This module is distributed via npm and should be installed as one of your project's ` devDependencies ` :
48+ This module is distributed via npm and should be installed as one of your
49+ project's ` devDependencies ` :
5050
5151```
5252npm install --save-dev @testing-library/vue
5353```
5454
55- This library has ` peerDependencies ` listings for ` Vue ` and ` vue-template-compiler ` .
55+ This library has ` peerDependencies ` listings for ` Vue ` and
56+ ` vue-template-compiler ` .
5657
5758You may also be interested in installing ` jest-dom ` so you can use
5859[ the custom Jest matchers] ( https://github.com/gnapse/jest-dom#readme ) .
@@ -69,16 +70,16 @@ You may also be interested in installing `jest-dom` so you can use
6970</template >
7071
7172<script >
72- export default {
73- data : () => ({
74- count: 0
75- }),
76- methods: {
77- increment () {
78- this .count ++
73+ export default {
74+ data : () => ({
75+ count: 0
76+ }),
77+ methods: {
78+ increment () {
79+ this .count ++
80+ }
7981 }
8082 }
81- }
8283 </script >
8384```
8485
@@ -108,22 +109,21 @@ test('increments value on click', async () => {
108109
109110### More examples
110111
111- You'll find examples of testing with different situations and popular libraries in
112- [ the test directory] [ test-directory ] .
112+ You'll find examples of testing with different situations and popular libraries
113+ in [ the test directory] [ test-directory ] .
113114
114115Some included are:
115116
116- * [ ` vuex ` ] [ vuex-example ]
117- * [ ` vue-router ` ] [ vue-router-example ]
118- * [ ` vee-validate ` ] [ vee-validate-example ]
119- * [ ` vue-i18n ` ] [ vue-i18n-example ]
117+ - [ ` vuex ` ] [ vuex-example ]
118+ - [ ` vue-router ` ] [ vue-router-example ]
119+ - [ ` vee-validate ` ] [ vee-validate-example ]
120+ - [ ` vue-i18n ` ] [ vue-i18n-example ]
120121
121122Feel free to contribute with more examples!
122123
123124## Docs
124125
125- [ ** Read the Docs** ] [ docs ] |
126- [ Edit the docs] [ docs-edit ]
126+ [ ** Read the Docs** ] [ docs ] | [ Edit the docs] [ docs-edit ]
127127
128128## License
129129
0 commit comments