File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,7 @@ function changePartsIfFunctional (parts) {
40
40
}
41
41
42
42
module . exports = function ( src , filePath , jestConfig ) {
43
- const config = jestConfig && jestConfig . globals
44
- ? jestConfig . globals [ 'vue-jest' ]
45
- : { }
43
+ const config = ( jestConfig && jestConfig . globals && jestConfig . globals [ 'vue-jest' ] ) || { }
46
44
47
45
var parts = vueCompiler . parseComponent ( src , { pad : true } )
48
46
Original file line number Diff line number Diff line change 79
79
"^.+\\ .js$" : " <rootDir>/node_modules/babel-jest" ,
80
80
".*\\ .(vue)$" : " <rootDir>/vue-jest.js"
81
81
},
82
- "mapCoverage" : true ,
83
- "globals" : {
84
- "vue-jest" : {
85
- "experimentalStyles" : true
86
- }
87
- }
82
+ "mapCoverage" : true
88
83
},
89
84
"repository" : {
90
85
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments