html2canvas/tests/sauceconnect.js
2017-08-13 23:24:39 +08:00

17 lines
378 B
JavaScript

const sauceConnectLauncher = require('sauce-connect-launcher');
sauceConnectLauncher(
{
username: process.env.SAUCE_USERNAME,
accessKey: process.env.SAUCE_ACCESS_KEY,
logger: console.log
},
err => {
if (err) {
console.error(err.message);
return;
}
console.log('Sauce Connect ready');
}
);