cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [25/50] [abbrv] cordova-common git commit: fixjasmine : CB-12018 : updated jshint and updated jasmine tests to work with jasmine instead of jasmine-node
Date Tue, 06 Jun 2017 04:59:53 GMT
fixjasmine : CB-12018 : updated jshint and updated jasmine tests to work with jasmine instead
of jasmine-node


Project: http://git-wip-us.apache.org/repos/asf/cordova-common/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-common/commit/c4239561
Tree: http://git-wip-us.apache.org/repos/asf/cordova-common/tree/c4239561
Diff: http://git-wip-us.apache.org/repos/asf/cordova-common/diff/c4239561

Branch: refs/heads/master
Commit: c42395619c5eb6c451df119caf7b27dc3e72e6db
Parents: 160c1bb
Author: audreyso <auso@adobe.com>
Authored: Tue Jan 10 10:31:46 2017 -0800
Committer: audreyso <auso@adobe.com>
Committed: Tue Jan 10 17:41:25 2017 -0800

----------------------------------------------------------------------
 package.json              | 6 +++---
 spec/support/jasmine.json | 8 ++++++++
 2 files changed, 11 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-common/blob/c4239561/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 98ffb2d..d1eae8a 100644
--- a/package.json
+++ b/package.json
@@ -18,9 +18,9 @@
   },
   "scripts": {
     "test": "npm run jshint && npm run jasmine",
-    "jshint": "node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint
spec",
-    "jasmine": "node node_modules/jasmine-node/bin/jasmine-node --captureExceptions --color
spec",
-    "cover": "node node_modules/istanbul/lib/cli.js cover --root src --print detail node_modules/jasmine-node/bin/jasmine-node
-- spec"
+    "jshint": "jshint src && jshint spec",
+    "jasmine": "jasmine --captureExceptions --color",
+    "cover": "istanbul cover --root src --print detail jasmine"
   },
   "dependencies": {
     "ansi": "^0.3.1",

http://git-wip-us.apache.org/repos/asf/cordova-common/blob/c4239561/spec/support/jasmine.json
----------------------------------------------------------------------
diff --git a/spec/support/jasmine.json b/spec/support/jasmine.json
new file mode 100644
index 0000000..a5605d2
--- /dev/null
+++ b/spec/support/jasmine.json
@@ -0,0 +1,8 @@
+{
+    "spec_dir": "spec",
+    "spec_files": [
+    	"**/*[sS]pec.js"
+    ],
+    "stopSpecOnExpectationFailure": false,
+    "random": false
+}
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message