Skip to content

Commit

Permalink
More thorough dependency update
Browse files Browse the repository at this point in the history
  • Loading branch information
Nycto committed Dec 24, 2015
1 parent 83cd3b3 commit 377a0a2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
"main": "src/picoModal.js",
"devDependencies": {
"cleankill": "^1.0.2",
"grunt": "~0.4.1",
"grunt-bower-verify": "^2.0.0",
"grunt-contrib-connect": "^0.7.1",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-uglify": "^0.4.1",
"grunt": "~0.4.5",
"grunt-bower-verify": "^2.0.1",
"grunt-contrib-connect": "^0.11.2",
"grunt-contrib-jshint": "^0.11.3",
"grunt-contrib-uglify": "^0.11.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-string-replace": "^0.2.8",
"lodash": "^2.4.2",
"q": "^1.1.2",
"grunt-string-replace": "^1.2.1",
"lodash": "^3.10.1",
"q": "^1.4.1",
"sauce-tunnel": "^2.3.0",
"wd": "^0.3.12"
"wd": "^0.4.0"
},
"scripts": {
"test": "grunt --verbose sauce"
Expand Down
8 changes: 4 additions & 4 deletions task/screenshots.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ module.exports = function ( grunt, options ) {

// Ensure this tunnel is cleaned up if a process is killed
require('cleankill').onInterrupt(function (done) {
stopTunnel().fin(done);
stopTunnel().finally(done);
});

return defer.promise
.timeout(60000, "Timed out trying to create tunnel")
.then(function () {
return withTunnel(tunnel).fin(stopTunnel);
return withTunnel(tunnel).finally(stopTunnel);
});
}

Expand All @@ -87,7 +87,7 @@ module.exports = function ( grunt, options ) {
return after.then(function () {
return callback(value);
});
}, Q.resolve());
}, new Q());
}

/** Executes a callback with a browser */
Expand Down Expand Up @@ -125,7 +125,7 @@ module.exports = function ( grunt, options ) {

return callback(browser)
.timeout(30000, "Timed out running tests");
}).fin(function () {
}).finally(function () {
return browser.quit();
}).then(
function () {
Expand Down

0 comments on commit 377a0a2

Please sign in to comment.