diff --git a/package.json b/package.json index 0056adc..f875f7d 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "scripts": { "start": "node lib/index.js", - "test": "mocha" + "test": "if [ \"${MEASURE_COVERAGE}\" = 'true' ]; then nyc mocha; else mocha; fi" }, "repository": { "type": "git",