html2canvas/tests/sauceconnect.js

22 lines
536 B
JavaScript
Raw Permalink Normal View History

2017-08-13 18:24:39 +03:00
const sauceConnectLauncher = require('sauce-connect-launcher');
sauceConnectLauncher(
{
username: process.env.SAUCE_USERNAME,
accessKey: process.env.SAUCE_ACCESS_KEY,
2017-08-28 16:27:39 +03:00
logger: console.log,
// Log output from the `sc` process to stdout?
verbose: true,
// Enable verbose debugging (optional)
verboseDebugging: true
2017-08-13 18:24:39 +03:00
},
err => {
if (err) {
console.error(err.message);
return;
}
console.log('Sauce Connect ready');
}
);