Skip to content

Commit a33f5be

Browse files
committed
Added script to run jest in package.json:
"scripts": {"test": "jest"},
1 parent 62594cb commit a33f5be

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

+6
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,23 @@
22
"name": "vue-school-test-utils-base",
33
"version": "1.0.0",
44
"main": "index.js",
5+
"scripts": {
6+
"test": "jest"
7+
},
58
"repository": "https://github.com/codebryo/vue-school-test-utils-base.git",
69
"author": "Roman Kuba <[email protected]>",
710
"license": "MIT",
811
"dependencies": {
912
"@babel/core": "^7.3.4",
1013
"@babel/preset-env": "^7.3.4",
14+
"@vue/test-utils": "^1.1.4",
1115
"babel-core": "^7.0.0-bridge.0",
1216
"babel-jest": "^24.5.0",
1317
"jest": "^24.5.0",
1418
"jest-serializer-vue": "^2.0.2",
1519
"vue": "^2.6.9",
20+
"vue-jest": "^3.0.7",
21+
"vue-template-compiler": "^2.6.12",
1622
"vuex": "^3.1.1"
1723
}
1824
}

0 commit comments

Comments
 (0)