1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2026-01-03 23:22:30 +03:00

Don't minify tests so we can get proper stack traces when running 'npm test'.

This commit is contained in:
Kegan Dougal
2015-07-01 10:33:03 +01:00
parent a0fddf7ab3
commit 841e02d102
2 changed files with 3 additions and 1 deletions

2
.istanbul.yml Normal file
View File

@@ -0,0 +1,2 @@
instrumentation:
compact: false

View File

@@ -4,7 +4,7 @@
"description": "Matrix Client-Server SDK for Javascript",
"main": "index.js",
"scripts": {
"test": "istanbul cover --report cobertura -i \"lib/**/*.js\" jasmine-node -- spec --verbose --junitreport --forceexit --captureExceptions",
"test": "istanbul cover --report cobertura --config .istanbul.yml -i \\\"lib/**/*.js\\\" jasmine-node -- spec --verbose --junitreport --forceexit --captureExceptions",
"build": "jshint -c .jshint lib/ && browserify browser-index.js -o dist/browser-matrix-dev.js",
"watch": "watchify browser-index.js -o dist/browser-matrix-dev.js -v",
"lint": "jshint -c .jshint lib spec && gjslint --unix_mode --disable 0131,0211,0200 --max_line_length 90 -r spec/ -r lib/",