We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2ea10 commit 381ef1aCopy full SHA for 381ef1a
1 file changed
karma.conf.js
@@ -101,10 +101,11 @@ function configureLocalBrowsers (config) {
101
* https://github.com/karma-runner/karma-sauce-launcher
102
*/
103
function configureSauceLabs (config) {
104
+ var SAUCE = process.env.SAUCE === 'true';
105
var username = process.env.SAUCE_USERNAME;
106
var accessKey = process.env.SAUCE_ACCESS_KEY;
107
- if (!username || !accessKey) {
108
+ if (!SAUCE || !username || !accessKey) {
109
console.warn('SauceLabs is not enabled');
110
return;
111
}
0 commit comments