notify-saucelabs

1.0.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i notify-saucelabs

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • financial-times
  • mattandrews