Skip to content

Commit d9f9336

Browse files
marinko-pesoeddyerburgh
authored andcommitted
docs: update config path (#95)
1 parent 7d46dce commit d9f9336

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To define vue-jest as a transformer for your .vue files, you need to map .vue fi
1616
{
1717
"jest": {
1818
"transform": {
19-
"^.+\\.vue$": "<rootDir>/node_modules/vue-jest"
19+
"^.+\\.vue$": "vue-jest"
2020
}
2121
}
2222
```
@@ -32,8 +32,8 @@ A full config will look like this.
3232
"vue"
3333
],
3434
"transform": {
35-
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
36-
"^.+\\.vue$": "<rootDir>/node_modules/vue-jest"
35+
"^.+\\.js$": "babel-jest",
36+
"^.+\\.vue$": "vue-jest"
3737
}
3838
}
3939
}

0 commit comments

Comments
 (0)