Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Commit

Permalink
Fix saucelabs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jansepar committed Dec 31, 2014
1 parent e350f93 commit b0369a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 1 addition & 13 deletions Gruntfile.js
Expand Up @@ -108,19 +108,7 @@ module.exports = function(grunt) {
platform: 'Linux',
version: '4'
}
], // https://saucelabs.com/docs/browsers
onTestComplete: function(){
// Called after a qunit unit is done, per page, per browser
// Return true or false, passes or fails the test
// Returning undefined does not alter the test result

// For async return, call
var done = this.async();
setTimeout(function(){
// Return to this test after 1000 milliseconds
done(/*true or false changes the test result, undefined does not alter the result*/);
}, 1000);
}
] // https://saucelabs.com/docs/browsers
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,6 +5,6 @@
"grunt": "~0.4.0",
"grunt-express": "~0.3.6",
"grunt-contrib-qunit": "~0.2.0",
"grunt-saucelabs": "4.0.4"
"grunt-saucelabs": "8.3.2"
}
}

0 comments on commit b0369a2

Please sign in to comment.