provision.py: Create dir var/node-coverage for js test coverage.

test-js-with-node: Move istanbul test coverage to var/node-coverage.

This commit moves js test coverage generated through istanbul to
var/node-coverage.
This commit is contained in:
Taranjeet Singh
2016-08-11 22:03:52 +05:30
committed by Tim Abbott
parent b36dfc0395
commit 4350b6e0fb
2 changed files with 4 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ ret=0
if [ "$1" = "cover" ]; then
# Run a coverage test with Istanbul.
istanbul cover "$INDEX_JS" || ret=1;
istanbul cover "$INDEX_JS" --dir var/node-coverage || ret=1;
elif [ "$1" = "-h" -o "$1" = "--help" ]; then
echo "Usage: