We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f79f8f4 commit 44e9b43Copy full SHA for 44e9b43
README.md
@@ -1,3 +1,21 @@
1
# vue-jest
2
3
-Jest transform for .vue files.
+Jest Vue transformer with source map support
4
+
5
+## Usage
6
7
+```
8
+npm install --save-dev jest-vue
9
10
11
+## Setup
12
13
+Note: this step is only required if you are using babel-jest with additional code preprocessors.
14
15
+To define jest-vue as a transformer for your .vue code, map .vue files to the babel-jest module.
16
17
18
+"transform": {
19
+ ".*\\.(vue)$": "<rootDir>/node_modules/jest-vue"
20
+},
21
0 commit comments