We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 185a4c4 commit 923ce82Copy full SHA for 923ce82
lib/process.js
@@ -40,9 +40,7 @@ function changePartsIfFunctional (parts) {
40
}
41
42
module.exports = function (src, filePath, jestConfig) {
43
- const config = jestConfig && jestConfig.globals
44
- ? jestConfig.globals['vue-jest']
45
- : {}
+ const config = (jestConfig && jestConfig.globals && jestConfig.globals['vue-jest']) || {}
46
47
var parts = vueCompiler.parseComponent(src, { pad: true })
48
package.json
@@ -79,12 +79,7 @@
79
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
80
".*\\.(vue)$": "<rootDir>/vue-jest.js"
81
},
82
- "mapCoverage": true,
83
- "globals": {
84
- "vue-jest": {
85
- "experimentalStyles": true
86
- }
87
+ "mapCoverage": true
88
89
"repository": {
90
"type": "git",
0 commit comments