Skip to content

Commit

Permalink
[test] Launch browser tests on localhost by default (#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne authored Jun 1, 2017
1 parent 8091591 commit 214a57f
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions zuul.config.js
Original file line number Diff line number Diff line change
@@ -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 214a57f

Please sign in to comment.