Remove env variable from config

This commit is contained in:
vrde 2016-01-25 11:32:43 +01:00
parent 51d88a2ed2
commit c3c9c88421
2 changed files with 2 additions and 3 deletions

View File

@ -14,6 +14,5 @@ const BROWSERS = [
module.exports = {
BROWSERS: BROWSERS.map(x => x.split(',')),
APP_URL: process.env.SAUCE_DEFAULT_URL || 'http://www.localhost.com:3000',
TUNNEL_AUTO_CONNECT: process.env.SAUCE_AUTO_CONNECT
APP_URL: process.env.SAUCE_DEFAULT_URL || 'http://www.localhost.com:3000'
};

View File

@ -18,7 +18,7 @@ if (!process.env.SAUCE_ACCESS_KEY) {
}
if (config.TUNNEL_AUTO_CONNECT) {
if (process.env.SAUCE_AUTO_CONNECT) {
before(function(done) {
console.log(colors.yellow('Setting up tunnel from Saucelabs to your lovely computer, will take a while.'));
// Creating the tunnel takes a bit of time. For this case we can safely disable Mocha timeouts.