Skip to content

Commit 06010a8

Browse files
escapedcateddyerburgh
authored andcommitted
docs: add info for babel7 peer dep (#173)
1 parent d7d95ab commit 06010a8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ Jest Vue transformer with source map support
1010
npm install --save-dev vue-jest
1111
```
1212

13+
### Usage with Babel 7
14+
15+
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
16+
17+
```bash
18+
npm install --save-dev babel-core@bridge
19+
```
20+
1321
## Setup
1422

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

0 commit comments

Comments
 (0)