File tree Expand file tree Collapse file tree 7 files changed +18
-12
lines changed Expand file tree Collapse file tree 7 files changed +18
-12
lines changed Original file line number Diff line number Diff line change 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" : [
2627 ],
2728 "transform" : {
2829 "^.+\\ .js$" : " babel-jest" ,
29- "^.+\\ .vue$" : " ../../../lib/index.js "
30+ "^.+\\ .vue$" : " vue-jest "
3031 }
3132 },
3233 "babel" : {
Original file line number Diff line number Diff line change 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" : {
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"
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import ClassComponent from './components/ClassComponent.vue'
1111import ClassComponentWithMixin from './components/ClassComponentWithMixin.vue'
1212import ClassComponentProperty from './components/ClassComponentProperty.vue'
1313import TypeScript from './components/TypeScript.vue'
14- import jestVue from '../../../ '
14+ import jestVue from 'vue-jest '
1515import RenderFunction from './components/RenderFunction.vue'
1616import FunctionalSFC from './components/FunctionalSFC.vue'
1717import CoffeeScript from './components/CoffeeScript.vue'
Original file line number Diff line number Diff line change 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" : [
2829 ],
2930 "transform" : {
3031 "^.+\\ .js$" : " ./babel-transformer.js" ,
31- "^.+\\ .vue$" : " ../../../lib "
32+ "^.+\\ .vue$" : " vue-jest "
3233 },
3334 "moduleNameMapper" : {
3435 "^~?__styles/(.*)$" : " <rootDir>/components/styles/$1"
Original file line number Diff line number Diff line change 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" : [
2324 ],
2425 "transform" : {
2526 "^.+\\ .js$" : " babel-jest" ,
26- "^.+\\ .vue$" : " ../../../lib/index.js "
27+ "^.+\\ .vue$" : " vue-jest "
2728 }
2829 },
2930 "babel" : {
Original file line number Diff line number Diff line change 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" : [
2829 ],
2930 "transform" : {
3031 "^.+\\ .js$" : " babel-jest" ,
31- "^.+\\ .vue$" : " ../../../lib "
32+ "^.+\\ .vue$" : " vue-jest "
3233 },
3334 "moduleNameMapper" : {
3435 "^~?__styles/(.*)$" : " <rootDir>/components/styles/$1"
Original file line number Diff line number Diff line change 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" : {
3031 ],
3132 "transform" : {
3233 "^.+\\ .js$" : " babel-jest" ,
33- "^.+\\ .vue$" : " ../../../lib/index.js "
34+ "^.+\\ .vue$" : " vue-jest "
3435 }
3536 },
3637 "babel" : {
You can’t perform that action at this time.
0 commit comments