cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kam...@apache.org
Subject git commit: Add --captureExceptions flag to jasmine
Date Fri, 04 Jul 2014 15:27:01 GMT
Repository: cordova-cli
Updated Branches:
  refs/heads/master 2f9228d58 -> d86f72026


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-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/d86f7202
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/d86f7202
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/d86f7202

Branch: refs/heads/master
Commit: d86f7202624ecfd0589fda7d1df3ba67fc0dbf36
Parents: 2f9228d
Author: Mark Koudritsky <kamrik@gmail.com>
Authored: Fri Jul 4 11:26:43 2014 -0400
Committer: Mark Koudritsky <kamrik@gmail.com>
Committed: Fri Jul 4 11:26:43 2014 -0400

----------------------------------------------------------------------
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/d86f7202/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 96e406a..0fc2a2a 100644
--- a/package.json
+++ b/package.json
@@ -12,7 +12,7 @@
     "cordova": "./bin/cordova"
   },
   "scripts": {
-    "test": "jasmine-node --color spec"
+    "test": "jasmine-node --captureExceptions --color spec"
   },
   "repository": {
     "type": "git",


Mime
View raw message