Create text, lcov and html report in cone command

This commit is contained in:
Simon Warta
2020-06-25 12:49:23 +02:00
parent 97d0aeafcb
commit de76632e85
4 changed files with 3 additions and 7 deletions
+1 -2
View File
@@ -34,8 +34,7 @@
"build-or-skip": "[ -n \"$SKIP_BUILD\" ] || yarn build",
"test-node": "node jasmine-testrunner.js",
"test": "yarn build-or-skip && yarn test-node",
"coverage": "nyc yarn test --quiet",
"coverage-html": "nyc --reporter=html yarn test --quiet",
"coverage": "nyc --reporter=text --reporter=lcov yarn test --quiet",
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js",
"test-edge": "yarn pack-web && karma start --single-run --browsers Edge",
"test-firefox": "yarn pack-web && karma start --single-run --browsers Firefox",