You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,14 @@ Jest Vue transformer with source map support
10
10
npm install --save-dev vue-jest
11
11
```
12
12
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
+
13
21
## Setup
14
22
15
23
To define `vue-jest` as a transformer for your `.vue` files, map them to the `vue-jest` module:
0 commit comments