Added ability to generate code coverage reports for java script files.

This commit is contained in:
Pramod Ahire
2020-08-07 12:27:12 +05:30
committed by Akshay Joshi
parent 48ec4085d2
commit 68a5027d15
6 changed files with 305 additions and 16 deletions

View File

@@ -19,7 +19,7 @@
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "5.15.1",
"eslint-plugin-react": "^7.20.3",
"eslint-plugin-react": "^7.20.5",
"file-loader": "^3.0.1",
"iconfont-webpack-plugin": "^4.2.1",
"image-webpack-loader": "^4.6.0",
@@ -84,10 +84,12 @@
"immutability-helper": "^3.0.0",
"imports-loader": "^0.8.0",
"ip-address": "^5.8.9",
"istanbul-instrumenter-loader": "^3.0.1",
"jquery": "^3.5.1",
"jquery-contextmenu": "^2.8.0",
"jquery-ui": "^1.12.1",
"json-bignumber": "^1.0.1",
"karma-coverage": "^2.0.3",
"leaflet": "^1.5.1",
"moment": "^2.24.0",
"moment-timezone": "^0.5.23",
@@ -118,6 +120,7 @@
"bundle": "cross-env NODE_ENV=production yarn run bundle:dev",
"test:karma-once": "yarn run linter && yarn run karma start --single-run",
"test:karma": "yarn run linter && yarn run karma start",
"test:karma-coverage": "yarn run test:karma-once --reporters coverage,progress",
"test:feature": "yarn run bundle && python regression/runtests.py --pkg feature_tests",
"test": "yarn run test:karma-once && yarn run bundle && python regression/runtests.py",
"pep8": "pycodestyle --config=../.pycodestyle ../docs && pycodestyle --config=../.pycodestyle ../pkg && pycodestyle --config=../.pycodestyle ../tools && pycodestyle --config=../.pycodestyle ../web",