I am new in Vue js
I have integrated Jest framework in Vue application. but when i am running test command. then it giving following error
/core": "^7.12.16",
"/cli-plugin-babel": "~5.0.0",
"/cli-plugin-unit-jest": "~5.0.0",
"/test-utils": "^1.3.6",
"/eslint-parser"
},
"rules": {},
"overrides": [
{
"files": [
"/tests/.{j,t}s?(x)",
"/tests/unit//.spec.{j,t}s?(x)"
],
"env": {
"jest": true
}
}
]
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead",
"not ie 11"
]
}
Jest config file
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"baseUrl": "./",
"moduleResolution": "node",
"paths": {
"@/": [
"src/"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}
}
babel.config
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
SOCIAL SHARE CARD GENERATOR