Skip to content

Commit 11f3fdd

Browse files
[test] Launch browser tests on localhost by default (#571)
1 parent 753c180 commit 11f3fdd

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

zuul.config.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11

2-
module.exports = {
2+
var zuulConfig = module.exports = {
33
ui: 'mocha-bdd',
44
server: './test/support/server.js',
5-
tunnel: {
6-
type: 'ngrok',
7-
authtoken: '6Aw8vTgcG5EvXdQywVvbh_3fMxvd4Q7dcL2caAHAFjV',
8-
proto: 'tcp'
9-
},
5+
local: true, // test on localhost by default
106
builder: 'zuul-builder-webpack',
117
webpack: require('./support/webpack.config.js')
128
};
9+
10+
if (process.env.CI === 'true') {
11+
zuulConfig.local = false;
12+
zuulConfig.tunnel = {
13+
type: 'ngrok',
14+
authtoken: '6Aw8vTgcG5EvXdQywVvbh_3fMxvd4Q7dcL2caAHAFjV',
15+
proto: 'tcp'
16+
};
17+
}

0 commit comments

Comments
 (0)