aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-08-09 07:47:36 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-08-09 07:47:36 +0800
commitca7d8a8940df23e56fb034878939112bc359cb2f (patch)
tree8f4315093d7caaac4cae686760fabf9d96112840 /packages
parent762bbe9bcd79ca5b832859cc20ffa4c83603cbcb (diff)
downloaddexon-sol-tools-ca7d8a8940df23e56fb034878939112bc359cb2f.tar
dexon-sol-tools-ca7d8a8940df23e56fb034878939112bc359cb2f.tar.gz
dexon-sol-tools-ca7d8a8940df23e56fb034878939112bc359cb2f.tar.bz2
dexon-sol-tools-ca7d8a8940df23e56fb034878939112bc359cb2f.tar.lz
dexon-sol-tools-ca7d8a8940df23e56fb034878939112bc359cb2f.tar.xz
dexon-sol-tools-ca7d8a8940df23e56fb034878939112bc359cb2f.tar.zst
dexon-sol-tools-ca7d8a8940df23e56fb034878939112bc359cb2f.zip
Update CI config and package.json to run @0xproject/utils tests on CI
Diffstat (limited to 'packages')
-rw-r--r--packages/utils/package.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/utils/package.json b/packages/utils/package.json
index 46c1d05d0..ee5fc264f 100644
--- a/packages/utils/package.json
+++ b/packages/utils/package.json
@@ -11,7 +11,11 @@
"watch_without_deps": "tsc -w",
"build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts",
"clean": "shx rm -rf lib scripts",
- "test": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --bail --exit",
+ "test": "yarn run_mocha",
+ "test:circleci": "yarn test:coverage",
+ "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --bail --exit",
+ "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
+ "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"lint": "tslint --project .",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
},