Lock down jasmine to ~2.6.0, update npm scripts to invoke jasmine in a compatible manner in jasmine 2.6.0.
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/451c41b0 Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/451c41b0 Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/451c41b0 Branch: refs/heads/4.4.0-ios-sim Commit: 451c41b07606a139b7bd2b9550018a3af7eadfdd Parents: 2d405c4 Author: filmaj <maj....@gmail.com> Authored: Wed May 24 19:45:01 2017 +0200 Committer: Shazron Abdullah <shaz...@gmail.com> Committed: Fri Jun 9 11:46:30 2017 -0700 ---------------------------------------------------------------------- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/451c41b0/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index 38282cc..44831bf 100644 --- a/package.json +++ b/package.json @@ -18,12 +18,12 @@ "test": "npm run e2e-tests && npm run objc-tests && npm run unit-tests", "posttest": "npm run jshint", "cover": "istanbul cover --root bin/templates/cordova --print detail jasmine", - "e2e-tests": "jasmine --captureExceptions --color tests/spec/create.spec.js", + "e2e-tests": "jasmine tests/spec/create.spec.js", "objc-tests": "npm run objc-tests-lib && npm run objc-tests-framework", "objc-tests-lib": "xcodebuild test -workspace tests/cordova-ios.xcworkspace -scheme CordovaLibTests -destination \"platform=iOS Simulator,name=iPhone 5\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"", "objc-tests-framework": "xcodebuild test -workspace tests/cordova-ios.xcworkspace -scheme CordovaFrameworkApp -destination \"platform=iOS Simulator,name=iPhone 5\" CONFIGURATION_BUILD_DIR=\"`mktemp -d 2>/dev/null || mktemp -d -t 'cordova-ios'`\"", "preobjc-tests": "tests/scripts/killsim.js", - "unit-tests": "jasmine --captureExceptions --color", + "unit-tests": "jasmine", "jshint": "jshint bin tests" }, "author": "Apache Software Foundation", @@ -31,7 +31,7 @@ "devDependencies": { "coffee-script": "^1.7.1", "istanbul": "^0.4.2", - "jasmine": "^2.5.3", + "jasmine": "~2.6.0", "jshint": "^2.6.0", "nodeunit": "^0.8.7", "rewire": "^2.5.1", --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org For additional commands, e-mail: commits-h...@cordova.apache.org