Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b013c8f

Browse filesBrowse files
committed
chore(deps-dev): add vue-jest deps in e2e projects
1 parent 90f8503 commit b013c8f
Copy full SHA for b013c8f

File tree

Expand file treeCollapse file tree

7 files changed

+18
-12
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+18
-12
lines changed

‎e2e/3.x/babel-in-package/package.json

Copy file name to clipboardExpand all lines: e2e/3.x/babel-in-package/package.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"coffeescript": "^2.3.2",
1717
"jest": "^26.0.0",
1818
"ts-jest": "^26.4.4",
19-
"typescript": "^4.1.2"
19+
"typescript": "^4.1.2",
20+
"vue-jest": "^5.0.0-alpha.10"
2021
},
2122
"jest": {
2223
"moduleFileExtensions": [
@@ -26,7 +27,7 @@
2627
],
2728
"transform": {
2829
"^.+\\.js$": "babel-jest",
29-
"^.+\\.vue$": "../../../lib/index.js"
30+
"^.+\\.vue$": "vue-jest"
3031
}
3132
},
3233
"babel": {

‎e2e/3.x/basic/package.json

Copy file name to clipboardExpand all lines: e2e/3.x/basic/package.json
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"ts-jest": "^26.4.4",
2424
"typescript": "^4.1.2",
2525
"vue-class-component": "^8.0.0-beta.4",
26+
"vue-jest": "^5.0.0-alpha.10",
2627
"vue-property-decorator": "^10.0.0-rc.3"
2728
},
2829
"jest": {
@@ -35,7 +36,7 @@
3536
"transform": {
3637
"^.+\\.ts$": "ts-jest",
3738
"^.+\\.js$": "babel-jest",
38-
"^.+\\.vue$": "../../../lib/index.js"
39+
"^.+\\.vue$": "vue-jest"
3940
},
4041
"moduleNameMapper": {
4142
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"

‎e2e/3.x/basic/test.js

Copy file name to clipboardExpand all lines: e2e/3.x/basic/test.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import ClassComponent from './components/ClassComponent.vue'
1111
import ClassComponentWithMixin from './components/ClassComponentWithMixin.vue'
1212
import ClassComponentProperty from './components/ClassComponentProperty.vue'
1313
import TypeScript from './components/TypeScript.vue'
14-
import jestVue from '../../../'
14+
import jestVue from 'vue-jest'
1515
import RenderFunction from './components/RenderFunction.vue'
1616
import FunctionalSFC from './components/FunctionalSFC.vue'
1717
import CoffeeScript from './components/CoffeeScript.vue'

‎e2e/3.x/custom-transformers/package.json

Copy file name to clipboardExpand all lines: e2e/3.x/custom-transformers/package.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"jest": "^26.0.0",
1919
"postcss": "^7.0.13",
2020
"postcss-color-function": "^4.0.1",
21-
"sass": "^1.23.7"
21+
"sass": "^1.23.7",
22+
"vue-jest": "^5.0.0-alpha.10"
2223
},
2324
"jest": {
2425
"moduleFileExtensions": [
@@ -28,7 +29,7 @@
2829
],
2930
"transform": {
3031
"^.+\\.js$": "./babel-transformer.js",
31-
"^.+\\.vue$": "../../../lib"
32+
"^.+\\.vue$": "vue-jest"
3233
},
3334
"moduleNameMapper": {
3435
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"

‎e2e/3.x/javascript/package.json

Copy file name to clipboardExpand all lines: e2e/3.x/javascript/package.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"@babel/core": "^7.9.0",
1414
"@babel/preset-env": "^7.9.0",
1515
"coffeescript": "^2.3.2",
16-
"jest": "^26.0.0"
16+
"jest": "^26.0.0",
17+
"vue-jest": "^5.0.0-alpha.10"
1718
},
1819
"jest": {
1920
"moduleFileExtensions": [
@@ -23,7 +24,7 @@
2324
],
2425
"transform": {
2526
"^.+\\.js$": "babel-jest",
26-
"^.+\\.vue$": "../../../lib/index.js"
27+
"^.+\\.vue$": "vue-jest"
2728
}
2829
},
2930
"babel": {

‎e2e/3.x/style/package.json

Copy file name to clipboardExpand all lines: e2e/3.x/style/package.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"less": "^3.9.0",
1919
"postcss": "^7.0.13",
2020
"sass": "^1.23.7",
21-
"stylus": "^0.54.5"
21+
"stylus": "^0.54.5",
22+
"vue-jest": "^5.0.0-alpha.10"
2223
},
2324
"jest": {
2425
"moduleFileExtensions": [
@@ -28,7 +29,7 @@
2829
],
2930
"transform": {
3031
"^.+\\.js$": "babel-jest",
31-
"^.+\\.vue$": "../../../lib"
32+
"^.+\\.vue$": "vue-jest"
3233
},
3334
"moduleNameMapper": {
3435
"^~?__styles/(.*)$": "<rootDir>/components/styles/$1"

‎e2e/3.x/typescript/package.json

Copy file name to clipboardExpand all lines: e2e/3.x/typescript/package.json
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"@babel/preset-env": "^7.9.0",
1616
"jest": "^26.0.0",
1717
"ts-jest": "^26.4.4",
18-
"typescript": "^4.1.2"
18+
"typescript": "^4.1.2",
19+
"vue-jest": "^5.0.0-alpha.10"
1920
},
2021
"jest": {
2122
"globals": {
@@ -30,7 +31,7 @@
3031
],
3132
"transform": {
3233
"^.+\\.js$": "babel-jest",
33-
"^.+\\.vue$": "../../../lib/index.js"
34+
"^.+\\.vue$": "vue-jest"
3435
}
3536
},
3637
"babel": {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.