Skip to content

Commit

Permalink
chore(deps-dev): add vue-jest deps in e2e projects
Browse files Browse the repository at this point in the history
  • Loading branch information
nogic1008 committed Jun 16, 2021
1 parent 90f8503 commit b013c8f
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 12 deletions.
5 changes: 3 additions & 2 deletions e2e/3.x/babel-in-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"coffeescript": "^2.3.2",
"jest": "^26.0.0",
"ts-jest": "^26.4.4",
"typescript": "^4.1.2"
"typescript": "^4.1.2",
"vue-jest": "^5.0.0-alpha.10"
},
"jest": {
"moduleFileExtensions": [
Expand All @@ -26,7 +27,7 @@
],
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.vue$": "../../../lib/index.js"
"^.+\\.vue$": "vue-jest"
}
},
"babel": {
Expand Down
3 changes: 2 additions & 1 deletion e2e/3.x/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"ts-jest": "^26.4.4",
"typescript": "^4.1.2",
"vue-class-component": "^8.0.0-beta.4",
"vue-jest": "^5.0.0-alpha.10",
"vue-property-decorator": "^10.0.0-rc.3"
},
"jest": {
Expand All @@ -35,7 +36,7 @@
"transform": {
"^.+\\.ts$": "ts-jest",
"^.+\\.js$": "babel-jest",
"^.+\\.vue$": "../../../lib/index.js"
"^.+\\.vue$": "vue-jest"
},
"moduleNameMapper": {
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"
Expand Down
2 changes: 1 addition & 1 deletion e2e/3.x/basic/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import ClassComponent from './components/ClassComponent.vue'
import ClassComponentWithMixin from './components/ClassComponentWithMixin.vue'
import ClassComponentProperty from './components/ClassComponentProperty.vue'
import TypeScript from './components/TypeScript.vue'
import jestVue from '../../../'
import jestVue from 'vue-jest'
import RenderFunction from './components/RenderFunction.vue'
import FunctionalSFC from './components/FunctionalSFC.vue'
import CoffeeScript from './components/CoffeeScript.vue'
Expand Down
5 changes: 3 additions & 2 deletions e2e/3.x/custom-transformers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"jest": "^26.0.0",
"postcss": "^7.0.13",
"postcss-color-function": "^4.0.1",
"sass": "^1.23.7"
"sass": "^1.23.7",
"vue-jest": "^5.0.0-alpha.10"
},
"jest": {
"moduleFileExtensions": [
Expand All @@ -28,7 +29,7 @@
],
"transform": {
"^.+\\.js$": "./babel-transformer.js",
"^.+\\.vue$": "../../../lib"
"^.+\\.vue$": "vue-jest"
},
"moduleNameMapper": {
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"
Expand Down
5 changes: 3 additions & 2 deletions e2e/3.x/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"coffeescript": "^2.3.2",
"jest": "^26.0.0"
"jest": "^26.0.0",
"vue-jest": "^5.0.0-alpha.10"
},
"jest": {
"moduleFileExtensions": [
Expand All @@ -23,7 +24,7 @@
],
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.vue$": "../../../lib/index.js"
"^.+\\.vue$": "vue-jest"
}
},
"babel": {
Expand Down
5 changes: 3 additions & 2 deletions e2e/3.x/style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"less": "^3.9.0",
"postcss": "^7.0.13",
"sass": "^1.23.7",
"stylus": "^0.54.5"
"stylus": "^0.54.5",
"vue-jest": "^5.0.0-alpha.10"
},
"jest": {
"moduleFileExtensions": [
Expand All @@ -28,7 +29,7 @@
],
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.vue$": "../../../lib"
"^.+\\.vue$": "vue-jest"
},
"moduleNameMapper": {
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"
Expand Down
5 changes: 3 additions & 2 deletions e2e/3.x/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"@babel/preset-env": "^7.9.0",
"jest": "^26.0.0",
"ts-jest": "^26.4.4",
"typescript": "^4.1.2"
"typescript": "^4.1.2",
"vue-jest": "^5.0.0-alpha.10"
},
"jest": {
"globals": {
Expand All @@ -30,7 +31,7 @@
],
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.vue$": "../../../lib/index.js"
"^.+\\.vue$": "vue-jest"
}
},
"babel": {
Expand Down

0 comments on commit b013c8f

Please sign in to comment.