Skip to content

Commit

Permalink
[test] Launch browser tests on localhost by default (#571)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed May 19, 2017
1 parent 753c180 commit 11f3fdd
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions zuul.config.js
@@ -1,12 +1,17 @@

module.exports = {
var zuulConfig = module.exports = {
ui: 'mocha-bdd',
server: './test/support/server.js',
tunnel: {
type: 'ngrok',
authtoken: '6Aw8vTgcG5EvXdQywVvbh_3fMxvd4Q7dcL2caAHAFjV',
proto: 'tcp'
},
local: true, // test on localhost by default
builder: 'zuul-builder-webpack',
webpack: require('./support/webpack.config.js')
};

if (process.env.CI === 'true') {
zuulConfig.local = false;
zuulConfig.tunnel = {
type: 'ngrok',
authtoken: '6Aw8vTgcG5EvXdQywVvbh_3fMxvd4Q7dcL2caAHAFjV',
proto: 'tcp'
};
}

0 comments on commit 11f3fdd

Please sign in to comment.