aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-doc
diff options
context:
space:
mode:
authorF. Eugene Aumson <gene@aumson.org>2018-08-29 23:05:30 +0800
committerF. Eugene Aumson <gene@aumson.org>2018-08-31 21:15:41 +0800
commit9a4e6da02f606e97b470a6545b2ce5baf14b03e6 (patch)
treeb8e0c2851a4958eee811aa64d89739a84dcd30b1 /packages/sol-doc
parent823b6c4d7df56e6bc517b72878fb1ff5823a5b6f (diff)
downloaddexon-0x-contracts-9a4e6da02f606e97b470a6545b2ce5baf14b03e6.tar.gz
dexon-0x-contracts-9a4e6da02f606e97b470a6545b2ce5baf14b03e6.tar.zst
dexon-0x-contracts-9a4e6da02f606e97b470a6545b2ce5baf14b03e6.zip
enable sol-doc tests in circleci
Diffstat (limited to 'packages/sol-doc')
-rw-r--r--packages/sol-doc/coverage/.gitkeep0
-rw-r--r--packages/sol-doc/package.json3
2 files changed, 3 insertions, 0 deletions
diff --git a/packages/sol-doc/coverage/.gitkeep b/packages/sol-doc/coverage/.gitkeep
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/packages/sol-doc/coverage/.gitkeep
diff --git a/packages/sol-doc/package.json b/packages/sol-doc/package.json
index 9979fff05..e3bc8753c 100644
--- a/packages/sol-doc/package.json
+++ b/packages/sol-doc/package.json
@@ -7,6 +7,9 @@
"scripts": {
"build": "tsc",
"test": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --timeout 5000 --exit",
+ "test:circleci": "yarn test:coverage",
+ "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 . --format stylish",
"clean": "shx rm -rf lib"
},