Skip to content

Commit 075b7b1

Browse files
authored
Merge pull request #215 from middric/patch-1
Update incorrect Babel 7 instruction in README.md
2 parents f0ed142 + 46faace commit 075b7b1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ npm install --save-dev vue-jest
1111
yarn add vue-jest --dev
1212
```
1313

14+
### Usage with Babel 7
15+
16+
If you use [jest](https://github.com/facebook/jest) > 24.0.0 and [babel-jest](https://github.com/facebook/jest/tree/master/packages/babel-jest) make sure to install babel-core@bridge
17+
18+
```bash
19+
npm install --save-dev babel-core@bridge
20+
yarn add babel-core@bridge --dev
21+
```
22+
1423
## Setup
1524

1625
To use `vue-jest` as a transformer for your `.vue` files, map them to the `vue-jest` module:

0 commit comments

Comments
 (0)