fix coverage ts problem

This commit is contained in:
Eugenio Romano
2016-05-31 13:36:29 +01:00
parent c0dc2645bb
commit 2357b52479
15 changed files with 28 additions and 28 deletions

View File

@@ -72,7 +72,7 @@ module.exports = function (config) {
reporters: [
{type: 'text'},
{type: 'text-summary'},
{type: 'json', subdir: '.', file: 'coverage-final.json'},
{type: 'json', file: 'coverage-final.json'},
{type: 'html'}
]
},

View File

@@ -20,7 +20,7 @@
"pretest": "npm run build",
"test": "karma start karma.conf.js --reporters mocha,coverage --single-run",
"test-browser": "karma start karma.conf.js --reporters kjhtml ",
"posttest": "node_modules/.bin/remap-istanbul -i coverage/coverage-final.json -o coverage -t html",
"posttest": "node_modules/.bin/remap-istanbul -i coverage/report/coverage-final.json -o coverage/report -t html",
"coverage": "http-server -c-1 -o -p 9875 ./coverage/report",
"prepublish": "npm run build"
},