aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/package.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-14 19:27:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-15 00:15:38 +0800
commit40ebb533b324bf7dd454243fcb1ee092ab85f7eb (patch)
tree4d201ece33537f6f1e5dcafc125b093c72fc2b30 /packages/subproviders/package.json
parent7fe26ee7196320a3478cd93b24329d69a826badb (diff)
downloaddexon-sol-tools-40ebb533b324bf7dd454243fcb1ee092ab85f7eb.tar
dexon-sol-tools-40ebb533b324bf7dd454243fcb1ee092ab85f7eb.tar.gz
dexon-sol-tools-40ebb533b324bf7dd454243fcb1ee092ab85f7eb.tar.bz2
dexon-sol-tools-40ebb533b324bf7dd454243fcb1ee092ab85f7eb.tar.lz
dexon-sol-tools-40ebb533b324bf7dd454243fcb1ee092ab85f7eb.tar.xz
dexon-sol-tools-40ebb533b324bf7dd454243fcb1ee092ab85f7eb.tar.zst
dexon-sol-tools-40ebb533b324bf7dd454243fcb1ee092ab85f7eb.zip
Enable coverage for all other packages with tests
Diffstat (limited to 'packages/subproviders/package.json')
-rw-r--r--packages/subproviders/package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/subproviders/package.json b/packages/subproviders/package.json
index b49dfd67f..100ed8f87 100644
--- a/packages/subproviders/package.json
+++ b/packages/subproviders/package.json
@@ -12,7 +12,9 @@
"run_mocha_unit": "mocha lib/test/unit/**/*_test.js --timeout 10000 --bail --exit",
"run_mocha_integration": "mocha lib/test/integration/**/*_test.js --timeout 10000 --bail --exit",
"test": "npm run test:unit",
- "test:circleci": "npm run test:unit",
+ "test:unit:coverage": "nyc npm run test:unit --all && yarn coverage:report:lcov",
+ "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
+ "test:circleci": "npm run test:unit:coverage",
"test:all": "run-s test:unit test:integration",
"test:unit": "run-s clean build run_mocha_unit",
"test:integration": "run-s clean build run_mocha_integration"
@@ -42,6 +44,7 @@
"@types/lodash": "^4.14.86",
"@types/mocha": "^2.2.42",
"@types/node": "^8.0.53",
+ "nyc": "^11.0.1",
"chai": "^4.0.1",
"chai-as-promised": "^7.1.0",
"chai-as-promised-typescript-typings": "^0.0.10",