notify-saucelabs
v1.0.3
Published
Install:-
Downloads
12
Readme
notify-saucelabs
Install:-
npm install --save-dev notify-saucelabs
Example:-
require('isomorphic-fetch');
var notifiySaucelabs = require('notify-saucelabs');
module.exports = {
// tests go here
tearDown: function(callback) {
notifySaucelabs({
sessionId: this.client.sessionId,
passed: this.results.failed === 0,
tags: ['a-tag', 'another-tag']
})
.then(callback);
}
}
Note: depends on isomorphic-fetch