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) {
4040}
4141
4242module . 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' ] ) || { }
4644
4745 var parts = vueCompiler . parseComponent ( src , { pad : true } )
4846
Original file line number Diff line number Diff line change 7979 "^.+\\ .js$" : " <rootDir>/node_modules/babel-jest" ,
8080 ".*\\ .(vue)$" : " <rootDir>/vue-jest.js"
8181 },
82- "mapCoverage" : true ,
83- "globals" : {
84- "vue-jest" : {
85- "experimentalStyles" : true
86- }
87- }
82+ "mapCoverage" : true
8883 },
8984 "repository" : {
9085 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments