Don't assume docker for mac.

This commit is contained in:
orangemug 2018-04-09 18:18:15 +01:00
parent 84f3970730
commit a346d757fd

View file

@ -26,7 +26,7 @@ exports.config = {
bail: 0, bail: 0,
screenshotPath: SCREENSHOT_PATH, screenshotPath: SCREENSHOT_PATH,
// Note: This is here because @orangemug currently runs Maputnik inside a docker container. // Note: This is here because @orangemug currently runs Maputnik inside a docker container.
host: (isDocker() ? "host.docker.internal" : "0.0.0.0"), host: process.env.DOCKER_HOST || "0.0.0.0",
baseUrl: 'http://localhost', baseUrl: 'http://localhost',
waitforTimeout: 10000, waitforTimeout: 10000,
connectionRetryTimeout: 90000, connectionRetryTimeout: 90000,