File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 3838<h2 >Table of Contents</h2 >
3939
4040- [ Installation] ( #installation )
41- - [ Examples] ( #examples )
41+ - [ A simple example] ( #a-simple-example )
42+ - [ More examples] ( #more-examples )
4243- [ Docs] ( #docs )
4344- [ License] ( #license )
4445- [ Contributors] ( #contributors )
4546
4647## Installation
4748
48- This module is distributed via npm which is bundled with node and
49- should be installed as one of your project's ` devDependencies ` :
49+ This module is distributed via npm and should be installed as one of your 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 ` .
56+
5557You may also be interested in installing ` jest-dom ` so you can use
5658[ the custom Jest matchers] ( https://github.com/gnapse/jest-dom#readme ) .
5759
58- ## Examples
60+ ## A simple example
5961
6062``` html
6163<!-- TestComponent.vue -->
@@ -104,6 +106,7 @@ test('increments value on click', async () => {
104106})
105107```
106108
109+ ### More examples
107110
108111You'll find examples of testing with different situations and popular libraries in
109112[ the test directory] [ test-directory ] .
You can’t perform that action at this time.
0 commit comments