You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-04 05:02:41 +03:00
Make test coverage work again
* don't try to run npm under istanbul * use _mocha instead of mocha because https://github.com/gotwarlost/istanbul/issues/44#issuecomment-16093330 Also: * write a text report for better travis * On jenkins, clear out old coverage reports so that we don't pick up last time's.
This commit is contained in:
@@ -16,7 +16,7 @@ function fail {
|
||||
}
|
||||
|
||||
# don't use last time's test reports
|
||||
rm -rf reports || exit $?
|
||||
rm -rf reports coverage || exit $?
|
||||
|
||||
npm test || fail "npm test finished with return code $?"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user