Skip to content

Commit f83c4d0

Browse files
committed
docs: fix custom ts/babel config file example
1 parent 0283ef9 commit f83c4d0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ To define a tsconfig file that vue-jest will use when transpiling typescript, yo
6262
```json
6363
{
6464
"jest": {
65-
"vue-jest": {
66-
"tsConfigFile": "tsconfig.jest.json"
65+
"globals": {
66+
"vue-jest": {
67+
"tsConfigFile": "tsconfig.jest.json"
68+
}
6769
}
6870
}
6971
}
@@ -74,8 +76,10 @@ To define a babelrc file that vue-jest will use when transpiling javascript, you
7476
```json
7577
{
7678
"jest": {
77-
"vue-jest": {
78-
"babelRcFile": "jest.babelrc"
79+
"globals": {
80+
"vue-jest": {
81+
"babelRcFile": "jest.babelrc"
82+
}
7983
}
8084
}
8185
}

0 commit comments

Comments
 (0)