Proper way to use latest babel and Jest in a Vue or Quasar CLI project












0















Need to use Babel 7 and Jest together with the Vue/Quasar CLI.



I've been told in the quasar discord chat that Jest needs Babel 7 beta 54. Jest documentation is lacking and confusing surrounding babel 7 support, so I went with the recommendation in discord and got it working perfectly, but I get lots of warnings during "npm install" now.



When I google for these warnings all I can find is people who created github issues asking for help in the Jest and Babel and Quasar and Vue CLI repos, and people telling them "they're just warnings, not errors" and the issues being closed: Nobody solves or explains the issue.



Can someone please explain how to get Babel 7 and Jest to work with the Quasar/Vue CLI without warnings, or explain why the warning messages are showing?



NOTE: The warning message texts are actually incorrect. I have the versions being asked for installed.



NOTE: I have tried installing 7.0.0-beta.50 and every version in between, both in devDependencies and dependencies to no avail of the warnings.



If it helps, I'm using Windows 10, although fellow devs have said they get the same warnings on Macs and Linux.



Warning messages that appear when you type "npm install" with the below package.json:



npm WARN @babel/plugin-proposal-class-properties@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-class-properties@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-import-meta@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/preset-stage-3@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-async-generator-functions@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-json-strings@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-object-rest-spread@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-optional-catch-binding@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-unicode-property-regex@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-async-generators@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-dynamic-import@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-json-strings@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-object-rest-spread@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-optional-catch-binding@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.


package.json:



{
"name": "test",
"version": "1.0.0",
"dependencies": {
"@babel/core": "^7.1.2",
"@babel/runtime": "^7.1.2",
"debug": "^4.1.0",
"es6-iterator": "^2.0.3",
"gsap": "^2.0.2",
"lodash.get": "^4.4.2",
"socket.io-client": "^2.1.1",
"vue-i18n": "^7.3.3",
"vue-json-pretty": "^1.4.1",
"perfect-scrollbar-vue2": "^1.2.0",
"vuelidate": "^0.7.4",
"vuex": "^3.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "7.1.2",
"@babel/plugin-proposal-export-namespace-from": "7.0.0",
"@babel/plugin-proposal-function-sent": "7.1.0",
"@babel/plugin-proposal-numeric-separator": "7.0.0",
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/plugin-proposal-throw-expressions": "7.0.0",
"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/preset-env": "7.1.0",
"@babel/preset-stage-2": "7.0.0",
"@babel/types": "7.1.3",
"@storybook/addon-actions": "^4.0.9",
"@storybook/addon-links": "^4.0.9",
"@storybook/addons": "^4.0.9",
"@storybook/vue": "^4.0.9",
"@vue/cli-plugin-unit-jest": "^3.0.5",
"@vue/test-utils": "^1.0.0-beta.26",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-preset-vue": "^2.0.2",
"eslint": "^4.18.2",
"eslint-config-standard": "^11.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-plugin-vue": "^4.3.0",
"eslint-plugin-vue-a11y": "0.0.28",
"fse": "^4.0.1",
"jest": "^23.6.0",
"lighthouse": "^3.0.3",
"mocha": "^5.2.0",
"node-fetch": "^2.2.0",
"pug": "^2.0.3",
"pug-plain-loader": "^1.0.0",
"quasar-cli": "^0.17.22",
"request-promise": "^4.2.2",
"socket.io-mock": "^1.2.3",
"strip-ansi": "=3.0.1",
"vue-jest": "^3.0.1",
"wallaby-vue-compiler": "^1.0.3"
},
"engines": {
"node": ">= 8.9.0",
"npm": ">= 5.6.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
]
}









share|improve this question

























  • isn't that something that is planned to work in 1.0?

    – three
    Jan 1 at 21:08











  • Can you explain a little more? 1.0 of what? And do you have any other details?

    – Nick Steele
    Jan 1 at 23:21






  • 1





    The blog article over at quasar mentions a new testing library for quasar apps: medium.com/quasar-framework/quasar-1-0-sneak-peek-727b4e490899

    – three
    Jan 1 at 23:36
















0















Need to use Babel 7 and Jest together with the Vue/Quasar CLI.



I've been told in the quasar discord chat that Jest needs Babel 7 beta 54. Jest documentation is lacking and confusing surrounding babel 7 support, so I went with the recommendation in discord and got it working perfectly, but I get lots of warnings during "npm install" now.



When I google for these warnings all I can find is people who created github issues asking for help in the Jest and Babel and Quasar and Vue CLI repos, and people telling them "they're just warnings, not errors" and the issues being closed: Nobody solves or explains the issue.



Can someone please explain how to get Babel 7 and Jest to work with the Quasar/Vue CLI without warnings, or explain why the warning messages are showing?



NOTE: The warning message texts are actually incorrect. I have the versions being asked for installed.



NOTE: I have tried installing 7.0.0-beta.50 and every version in between, both in devDependencies and dependencies to no avail of the warnings.



If it helps, I'm using Windows 10, although fellow devs have said they get the same warnings on Macs and Linux.



Warning messages that appear when you type "npm install" with the below package.json:



npm WARN @babel/plugin-proposal-class-properties@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-class-properties@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-import-meta@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/preset-stage-3@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-async-generator-functions@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-json-strings@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-object-rest-spread@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-optional-catch-binding@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-unicode-property-regex@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-async-generators@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-dynamic-import@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-json-strings@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-object-rest-spread@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-optional-catch-binding@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.


package.json:



{
"name": "test",
"version": "1.0.0",
"dependencies": {
"@babel/core": "^7.1.2",
"@babel/runtime": "^7.1.2",
"debug": "^4.1.0",
"es6-iterator": "^2.0.3",
"gsap": "^2.0.2",
"lodash.get": "^4.4.2",
"socket.io-client": "^2.1.1",
"vue-i18n": "^7.3.3",
"vue-json-pretty": "^1.4.1",
"perfect-scrollbar-vue2": "^1.2.0",
"vuelidate": "^0.7.4",
"vuex": "^3.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "7.1.2",
"@babel/plugin-proposal-export-namespace-from": "7.0.0",
"@babel/plugin-proposal-function-sent": "7.1.0",
"@babel/plugin-proposal-numeric-separator": "7.0.0",
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/plugin-proposal-throw-expressions": "7.0.0",
"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/preset-env": "7.1.0",
"@babel/preset-stage-2": "7.0.0",
"@babel/types": "7.1.3",
"@storybook/addon-actions": "^4.0.9",
"@storybook/addon-links": "^4.0.9",
"@storybook/addons": "^4.0.9",
"@storybook/vue": "^4.0.9",
"@vue/cli-plugin-unit-jest": "^3.0.5",
"@vue/test-utils": "^1.0.0-beta.26",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-preset-vue": "^2.0.2",
"eslint": "^4.18.2",
"eslint-config-standard": "^11.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-plugin-vue": "^4.3.0",
"eslint-plugin-vue-a11y": "0.0.28",
"fse": "^4.0.1",
"jest": "^23.6.0",
"lighthouse": "^3.0.3",
"mocha": "^5.2.0",
"node-fetch": "^2.2.0",
"pug": "^2.0.3",
"pug-plain-loader": "^1.0.0",
"quasar-cli": "^0.17.22",
"request-promise": "^4.2.2",
"socket.io-mock": "^1.2.3",
"strip-ansi": "=3.0.1",
"vue-jest": "^3.0.1",
"wallaby-vue-compiler": "^1.0.3"
},
"engines": {
"node": ">= 8.9.0",
"npm": ">= 5.6.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
]
}









share|improve this question

























  • isn't that something that is planned to work in 1.0?

    – three
    Jan 1 at 21:08











  • Can you explain a little more? 1.0 of what? And do you have any other details?

    – Nick Steele
    Jan 1 at 23:21






  • 1





    The blog article over at quasar mentions a new testing library for quasar apps: medium.com/quasar-framework/quasar-1-0-sneak-peek-727b4e490899

    – three
    Jan 1 at 23:36














0












0








0








Need to use Babel 7 and Jest together with the Vue/Quasar CLI.



I've been told in the quasar discord chat that Jest needs Babel 7 beta 54. Jest documentation is lacking and confusing surrounding babel 7 support, so I went with the recommendation in discord and got it working perfectly, but I get lots of warnings during "npm install" now.



When I google for these warnings all I can find is people who created github issues asking for help in the Jest and Babel and Quasar and Vue CLI repos, and people telling them "they're just warnings, not errors" and the issues being closed: Nobody solves or explains the issue.



Can someone please explain how to get Babel 7 and Jest to work with the Quasar/Vue CLI without warnings, or explain why the warning messages are showing?



NOTE: The warning message texts are actually incorrect. I have the versions being asked for installed.



NOTE: I have tried installing 7.0.0-beta.50 and every version in between, both in devDependencies and dependencies to no avail of the warnings.



If it helps, I'm using Windows 10, although fellow devs have said they get the same warnings on Macs and Linux.



Warning messages that appear when you type "npm install" with the below package.json:



npm WARN @babel/plugin-proposal-class-properties@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-class-properties@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-import-meta@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/preset-stage-3@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-async-generator-functions@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-json-strings@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-object-rest-spread@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-optional-catch-binding@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-unicode-property-regex@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-async-generators@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-dynamic-import@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-json-strings@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-object-rest-spread@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-optional-catch-binding@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.


package.json:



{
"name": "test",
"version": "1.0.0",
"dependencies": {
"@babel/core": "^7.1.2",
"@babel/runtime": "^7.1.2",
"debug": "^4.1.0",
"es6-iterator": "^2.0.3",
"gsap": "^2.0.2",
"lodash.get": "^4.4.2",
"socket.io-client": "^2.1.1",
"vue-i18n": "^7.3.3",
"vue-json-pretty": "^1.4.1",
"perfect-scrollbar-vue2": "^1.2.0",
"vuelidate": "^0.7.4",
"vuex": "^3.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "7.1.2",
"@babel/plugin-proposal-export-namespace-from": "7.0.0",
"@babel/plugin-proposal-function-sent": "7.1.0",
"@babel/plugin-proposal-numeric-separator": "7.0.0",
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/plugin-proposal-throw-expressions": "7.0.0",
"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/preset-env": "7.1.0",
"@babel/preset-stage-2": "7.0.0",
"@babel/types": "7.1.3",
"@storybook/addon-actions": "^4.0.9",
"@storybook/addon-links": "^4.0.9",
"@storybook/addons": "^4.0.9",
"@storybook/vue": "^4.0.9",
"@vue/cli-plugin-unit-jest": "^3.0.5",
"@vue/test-utils": "^1.0.0-beta.26",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-preset-vue": "^2.0.2",
"eslint": "^4.18.2",
"eslint-config-standard": "^11.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-plugin-vue": "^4.3.0",
"eslint-plugin-vue-a11y": "0.0.28",
"fse": "^4.0.1",
"jest": "^23.6.0",
"lighthouse": "^3.0.3",
"mocha": "^5.2.0",
"node-fetch": "^2.2.0",
"pug": "^2.0.3",
"pug-plain-loader": "^1.0.0",
"quasar-cli": "^0.17.22",
"request-promise": "^4.2.2",
"socket.io-mock": "^1.2.3",
"strip-ansi": "=3.0.1",
"vue-jest": "^3.0.1",
"wallaby-vue-compiler": "^1.0.3"
},
"engines": {
"node": ">= 8.9.0",
"npm": ">= 5.6.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
]
}









share|improve this question
















Need to use Babel 7 and Jest together with the Vue/Quasar CLI.



I've been told in the quasar discord chat that Jest needs Babel 7 beta 54. Jest documentation is lacking and confusing surrounding babel 7 support, so I went with the recommendation in discord and got it working perfectly, but I get lots of warnings during "npm install" now.



When I google for these warnings all I can find is people who created github issues asking for help in the Jest and Babel and Quasar and Vue CLI repos, and people telling them "they're just warnings, not errors" and the issues being closed: Nobody solves or explains the issue.



Can someone please explain how to get Babel 7 and Jest to work with the Quasar/Vue CLI without warnings, or explain why the warning messages are showing?



NOTE: The warning message texts are actually incorrect. I have the versions being asked for installed.



NOTE: I have tried installing 7.0.0-beta.50 and every version in between, both in devDependencies and dependencies to no avail of the warnings.



If it helps, I'm using Windows 10, although fellow devs have said they get the same warnings on Macs and Linux.



Warning messages that appear when you type "npm install" with the below package.json:



npm WARN @babel/plugin-proposal-class-properties@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-class-properties@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-import-meta@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/preset-stage-3@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-async-generator-functions@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-json-strings@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-object-rest-spread@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-optional-catch-binding@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-proposal-unicode-property-regex@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-async-generators@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-dynamic-import@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-json-strings@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-object-rest-spread@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.
npm WARN @babel/plugin-syntax-optional-catch-binding@7.0.0-beta.54 requires a peer of @babel/core@>=7.0.0-beta.50 <7.0.0-rc.0 but none is installed. You must install peer dependencies yourself.


package.json:



{
"name": "test",
"version": "1.0.0",
"dependencies": {
"@babel/core": "^7.1.2",
"@babel/runtime": "^7.1.2",
"debug": "^4.1.0",
"es6-iterator": "^2.0.3",
"gsap": "^2.0.2",
"lodash.get": "^4.4.2",
"socket.io-client": "^2.1.1",
"vue-i18n": "^7.3.3",
"vue-json-pretty": "^1.4.1",
"perfect-scrollbar-vue2": "^1.2.0",
"vuelidate": "^0.7.4",
"vuex": "^3.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "7.1.2",
"@babel/plugin-proposal-export-namespace-from": "7.0.0",
"@babel/plugin-proposal-function-sent": "7.1.0",
"@babel/plugin-proposal-numeric-separator": "7.0.0",
"@babel/plugin-proposal-object-rest-spread": "7.0.0",
"@babel/plugin-proposal-throw-expressions": "7.0.0",
"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/plugin-transform-runtime": "7.1.0",
"@babel/preset-env": "7.1.0",
"@babel/preset-stage-2": "7.0.0",
"@babel/types": "7.1.3",
"@storybook/addon-actions": "^4.0.9",
"@storybook/addon-links": "^4.0.9",
"@storybook/addons": "^4.0.9",
"@storybook/vue": "^4.0.9",
"@vue/cli-plugin-unit-jest": "^3.0.5",
"@vue/test-utils": "^1.0.0-beta.26",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^8.2.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"babel-preset-vue": "^2.0.2",
"eslint": "^4.18.2",
"eslint-config-standard": "^11.0.0",
"eslint-friendly-formatter": "^4.0.1",
"eslint-loader": "^2.0.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"eslint-plugin-vue": "^4.3.0",
"eslint-plugin-vue-a11y": "0.0.28",
"fse": "^4.0.1",
"jest": "^23.6.0",
"lighthouse": "^3.0.3",
"mocha": "^5.2.0",
"node-fetch": "^2.2.0",
"pug": "^2.0.3",
"pug-plain-loader": "^1.0.0",
"quasar-cli": "^0.17.22",
"request-promise": "^4.2.2",
"socket.io-mock": "^1.2.3",
"strip-ansi": "=3.0.1",
"vue-jest": "^3.0.1",
"wallaby-vue-compiler": "^1.0.3"
},
"engines": {
"node": ">= 8.9.0",
"npm": ">= 5.6.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 10"
]
}






npm jestjs babel vue-cli-3 quasar-framework






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 10 at 16:21









skyboyer

4,07311230




4,07311230










asked Jan 1 at 21:01









Nick SteeleNick Steele

4,03022123




4,03022123













  • isn't that something that is planned to work in 1.0?

    – three
    Jan 1 at 21:08











  • Can you explain a little more? 1.0 of what? And do you have any other details?

    – Nick Steele
    Jan 1 at 23:21






  • 1





    The blog article over at quasar mentions a new testing library for quasar apps: medium.com/quasar-framework/quasar-1-0-sneak-peek-727b4e490899

    – three
    Jan 1 at 23:36



















  • isn't that something that is planned to work in 1.0?

    – three
    Jan 1 at 21:08











  • Can you explain a little more? 1.0 of what? And do you have any other details?

    – Nick Steele
    Jan 1 at 23:21






  • 1





    The blog article over at quasar mentions a new testing library for quasar apps: medium.com/quasar-framework/quasar-1-0-sneak-peek-727b4e490899

    – three
    Jan 1 at 23:36

















isn't that something that is planned to work in 1.0?

– three
Jan 1 at 21:08





isn't that something that is planned to work in 1.0?

– three
Jan 1 at 21:08













Can you explain a little more? 1.0 of what? And do you have any other details?

– Nick Steele
Jan 1 at 23:21





Can you explain a little more? 1.0 of what? And do you have any other details?

– Nick Steele
Jan 1 at 23:21




1




1





The blog article over at quasar mentions a new testing library for quasar apps: medium.com/quasar-framework/quasar-1-0-sneak-peek-727b4e490899

– three
Jan 1 at 23:36





The blog article over at quasar mentions a new testing library for quasar apps: medium.com/quasar-framework/quasar-1-0-sneak-peek-727b4e490899

– three
Jan 1 at 23:36












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53998916%2fproper-way-to-use-latest-babel-and-jest-in-a-vue-or-quasar-cli-project%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53998916%2fproper-way-to-use-latest-babel-and-jest-in-a-vue-or-quasar-cli-project%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith