forked from socketio/engine.io-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzuul.config.js
56 lines (49 loc) · 1.13 KB
/
zuul.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
'use strict';
const browsers = require('socket.io-browsers');
const zuulConfig = module.exports = {
ui: 'mocha-bdd',
// test on localhost by default
local: true,
open: true,
concurrency: 2, // ngrok only accepts two tunnels by default
// if browser does not sends output in 120s since last output:
// stop testing, something is wrong
browser_output_timeout: 120 * 1000,
browser_open_timeout: 60 * 4 * 1000,
// we want to be notified something is wrong asap, so no retry
browser_retries: 1,
server: './test/support/server.js',
builder: 'zuul-builder-webpack',
webpack: require('./support/webpack.config.js')
};
if (process.env.CI === 'true') {
zuulConfig.local = false;
zuulConfig.tunnel = {
type: 'ngrok',
bind_tls: true
};
}
zuulConfig.browsers = [
{
name: 'firefox',
version: 'latest'
}, {
name: 'internet explorer',
version: '9..11'
}, {
name: 'safari',
version: '14'
}, {
name: 'iphone',
version: '14'
}, {
name: 'android',
version: '5.1..6.0'
}, {
name: 'ipad',
version: '14'
}, {
name: 'MicrosoftEdge',
version: 'latest'
}
];