You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ka...@apache.org on 2014/07/04 17:06:31 UTC
git commit: Add --captureExceptions flag to jasmine
Repository: cordova-lib
Updated Branches:
refs/heads/master 9bb739e1c -> 151a14ab1
Add --captureExceptions flag to jasmine
Without this flag exceptions such as bad syntax of missing modules caused all
the tests to abort but the exit status was still 0. CI tools interpret this as
successful test.
Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/151a14ab
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/151a14ab
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/151a14ab
Branch: refs/heads/master
Commit: 151a14ab1f0670c724e7a1dabb9fa309349e85d4
Parents: 9bb739e
Author: Mark Koudritsky <ka...@gmail.com>
Authored: Fri Jul 4 11:04:39 2014 -0400
Committer: Mark Koudritsky <ka...@gmail.com>
Committed: Fri Jul 4 11:04:39 2014 -0400
----------------------------------------------------------------------
cordova-lib/package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/151a14ab/cordova-lib/package.json
----------------------------------------------------------------------
diff --git a/cordova-lib/package.json b/cordova-lib/package.json
index 71bb362..9df6a84 100644
--- a/cordova-lib/package.json
+++ b/cordova-lib/package.json
@@ -46,7 +46,7 @@
"scripts": {
"test": "npm run jasmine && npm run jshint",
"jshint": "node node_modules/jshint/bin/jshint src",
- "jasmine": "jasmine-node --color spec-plugman spec-cordova"
+ "jasmine": "jasmine-node --captureExceptions --color spec-plugman spec-cordova"
},
"contributors": [
{