Skip to content

Commit

Permalink
chore(test): 新增测试覆盖率
Browse files Browse the repository at this point in the history
  • Loading branch information
SzHeJason committed Aug 30, 2018
1 parent 7f62879 commit f6ec8f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ project.config.json

site/
docs/h5/

coverage
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lint": "eslint ./src --fix",
"lint:style": "stylelint \"src/**/*.scss\" --syntax scss",
"lint:style-fix": "stylelint \"src/**/*.scss\" --syntax scss --fix",
"test": "cp ./sample.babelrc ./.babelrc && jest"
"test": "cp ./sample.babelrc ./.babelrc && jest --coverage"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit f6ec8f0

Please sign in to comment.