diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-03-15 00:36:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 00:36:23 +0800 |
commit | aea7207b9f9865a279243889a5f9ca1638ddc739 (patch) | |
tree | 4d201ece33537f6f1e5dcafc125b093c72fc2b30 /packages/subproviders/package.json | |
parent | e16feb27f4ec1987259a87f360824a0158bd8b10 (diff) | |
parent | 40ebb533b324bf7dd454243fcb1ee092ab85f7eb (diff) | |
download | dexon-sol-tools-aea7207b9f9865a279243889a5f9ca1638ddc739.tar dexon-sol-tools-aea7207b9f9865a279243889a5f9ca1638ddc739.tar.gz dexon-sol-tools-aea7207b9f9865a279243889a5f9ca1638ddc739.tar.bz2 dexon-sol-tools-aea7207b9f9865a279243889a5f9ca1638ddc739.tar.lz dexon-sol-tools-aea7207b9f9865a279243889a5f9ca1638ddc739.tar.xz dexon-sol-tools-aea7207b9f9865a279243889a5f9ca1638ddc739.tar.zst dexon-sol-tools-aea7207b9f9865a279243889a5f9ca1638ddc739.zip |
Merge pull request #455 from 0xProject/fix/coveralls
Enable coverage reporting for all packages that have tests
Diffstat (limited to 'packages/subproviders/package.json')
-rw-r--r-- | packages/subproviders/package.json | 5 |
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", |