diff options
author | Austin Schaffer <austin.schaffer@ryansg.com> | 2020-01-31 14:12:52 -0500 |
---|---|---|
committer | Austin Schaffer <austin.schaffer@ryansg.com> | 2020-01-31 15:57:33 -0500 |
commit | e81516ca8020e2ab96aee2859f0200d92108cc3e (patch) | |
tree | 3cd32c97969bc4db58ec1522cba22f9dc4788796 /Makefile.am | |
parent | 3c5cffc34f6ddd4b6d632d3f7e1b163d97600961 (diff) | |
download | liza-e81516ca8020e2ab96aee2859f0200d92108cc3e.tar.gz liza-e81516ca8020e2ab96aee2859f0200d92108cc3e.tar.bz2 liza-e81516ca8020e2ab96aee2859f0200d92108cc3e.zip |
[DEV-6721] Add optional code coverage
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 9e0d6f8..2e7a45f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -67,10 +67,11 @@ check-ts-out: test: check check: $(tsout) check-ts-out - PATH="$(PATH):$(CURDIR)/node_modules/mocha/bin" \ - mocha @NODE_DESTRUCTURE@ \ + PATH="$(PATH):$(CURDIR)/node_modules/.bin" \ + @CODE_COV@ mocha @NODE_DESTRUCTURE@ \ --require $(path_test)/pre.js \ --recursive \ + @COV_ARGS@ \ $(TESTARGS) FORCE: |