diff --git a/package.json b/package.json index aa23f5e70289b1cd4a88b44580190b01e0f694bb..8695067a9f3800b1bda738345f93da94cf83527c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "postinstall": "typings install", "start": "node index", "pretest": "tslint -s node_modules/tslint-stylish -t stylish src/**/*.ts test/**/*.ts", - "test": "istanbul cover -x \"**/*.spec.ts\" -e .ts _mocha", + "test": "ts-node node_modules/istanbul/lib/cli.js cover -x \"**/*.spec.ts\" -e .ts _mocha", "show-coverage": "xdg-open coverage/lcov-report/index.html", "doc-api": "raml2html -i specs/blendb-api-v1.raml -o doc/api-v1-reference.html" }, diff --git a/test/mocha.opts b/test/mocha.opts index 769579ae3f5df2c2b8990eecbe45e9418329d3fe..a77aa39d8340d7ebfdee336b6ad5585c46125f13 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -7,5 +7,4 @@ --slow 300 --check-leaks --globals expect ---compilers ts:ts-node/register ./src/**/*.spec.ts