Add Vue jest plugin, move test

This commit is contained in:
Oliver Davies 2019-04-09 20:58:46 +01:00
parent 1844d0d627
commit 7babcbd547
6 changed files with 1318 additions and 36 deletions

View file

@ -5,8 +5,9 @@
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"test": "jest",
"lint": "vue-cli-service lint",
"test": "jest"
"test:unit": "vue-cli-service test:unit"
},
"dependencies": {
"postcss-nested": "^4.1.2",
@ -21,8 +22,11 @@
"@babel/preset-env": "^7.4.3",
"@vue/cli-plugin-babel": "^3.5.1",
"@vue/cli-plugin-eslint": "^3.5.1",
"@vue/cli-plugin-unit-jest": "^3.5.3",
"@vue/cli-service": "^3.5.1",
"@vue/eslint-config-standard": "^4.0.0",
"@vue/test-utils": "1.0.0-beta.29",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.7.1",
"eslint": "^5.8.0",