Skip to content

Commit 25c4dab

Browse files
committed
Structure installation guidelines
1 parent 142f644 commit 25c4dab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/guide/installation.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
- npm: `npm install --save-dev @vue/test-utils@next`
44
- yarn: `yarn add --dev @vue/test-utils@next`
55

6-
## Usage
6+
### Support for `.vue` files
77

8-
Vue Test Utils is framework agnostic - you can use it with whichever test runner you like. The easiest way to try it out is using [Jest](https://jestjs.io/), a popular test runner.
9-
10-
To load `.vue` files with Jest, you will need `vue-jest`. `vue-jest` v5 is the one that supports Vue 3. It is still in alpha, much like the rest of the Vue.js 3 ecosystem, so if you find a bug please report it [here](https://github.com/vuejs/vue-jest/) and specify you are using `vue-jest` v5.
8+
To load `.vue` files with Jest, you will need `vue-jest`. `vue-jest` v5 is the one that supports Vue 3. It is still in alpha, much like the rest of the Vue.js 3 ecosystem, so if you find a bug please report it [here](https://github.com/vuejs/vue-jest/) and specify you are using `vue-jest` v5.
119

1210
You can install it with `vue-jest@next`. Then you need to configure it with Jest's [transform](https://jestjs.io/docs/en/configuration#transform-objectstring-pathtotransformer--pathtotransformer-object) option.
1311

14-
If you dont want to configure it yourself, you can get a minimal repository with everything set up [here](https://github.com/lmiller1990/vtu-next-demo).
12+
## Usage
13+
14+
Vue Test Utils is framework agnostic - you can use it with whichever test runner you like. The easiest way to try it out is using [Jest](https://jestjs.io/), a popular test runner.
1515

16-
Continue reading to learn more about Vue Test Utils.
16+
If you don't want to configure it yourself, you can get a minimal repository with everything set up [here](https://github.com/lmiller1990/vtu-next-demo).

0 commit comments

Comments
 (0)