Add sauceconnect launcher

This commit is contained in:
Niklas von Hertzen 2017-08-13 23:24:39 +08:00
parent ea080e0f5d
commit fd1447a6e7

16
tests/sauceconnect.js Normal file
View File

@ -0,0 +1,16 @@
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');
}
);