mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Remove env variable from config
This commit is contained in:
parent
51d88a2ed2
commit
c3c9c88421
@ -14,6 +14,5 @@ const BROWSERS = [
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
BROWSERS: BROWSERS.map(x => x.split(',')),
|
BROWSERS: BROWSERS.map(x => x.split(',')),
|
||||||
APP_URL: process.env.SAUCE_DEFAULT_URL || 'http://www.localhost.com:3000',
|
APP_URL: process.env.SAUCE_DEFAULT_URL || 'http://www.localhost.com:3000'
|
||||||
TUNNEL_AUTO_CONNECT: process.env.SAUCE_AUTO_CONNECT
|
|
||||||
};
|
};
|
||||||
|
@ -18,7 +18,7 @@ if (!process.env.SAUCE_ACCESS_KEY) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (config.TUNNEL_AUTO_CONNECT) {
|
if (process.env.SAUCE_AUTO_CONNECT) {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
console.log(colors.yellow('Setting up tunnel from Saucelabs to your lovely computer, will take a while.'));
|
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.
|
// Creating the tunnel takes a bit of time. For this case we can safely disable Mocha timeouts.
|
||||||
|
Loading…
Reference in New Issue
Block a user