mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Add sauceconnect launcher
This commit is contained in:
parent
ea080e0f5d
commit
fd1447a6e7
16
tests/sauceconnect.js
Normal file
16
tests/sauceconnect.js
Normal 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');
|
||||
}
|
||||
);
|
Loading…
Reference in New Issue
Block a user