-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathkarma.browserstack.conf.js
50 lines (49 loc) · 1.22 KB
/
karma.browserstack.conf.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
var settings = require('./karma.conf.js').settings;
module.exports = function (karma) {
karma.set(Object.assign(settings, {
browserStack: {
username: process.env.BROWSERSTACK_USERNAME,
accessKey: process.env.BROWSERSTACK_ACCESS_KEY,
retryLimit: 0
},
customLaunchers: {
// jshint ignore:start
chromeMac: {
base: 'BrowserStack',
browser: 'chrome',
browser_version: '45.0',
os: 'OS X',
os_version: 'Yosemite'
},
firefoxMac: {
base: 'BrowserStack',
browser: 'firefox',
browser_version: '42.0',
os: 'OS X',
os_version: 'Yosemite'
},
safariMac: {
base: 'BrowserStack',
browser: 'safari',
browser_version: '9',
os: 'OS X',
os_version: 'El Capitan'
},
edge: {
base: 'BrowserStack',
browser: 'edge',
browser_version: '12.0',
os: 'Windows',
os_version: '10'
},
mobileSafari: {
base: 'BrowserStack',
device: 'iPhone 6',
os: 'ios',
os_version: '8.3'
}
//jshint ignore:end
},
browsers: ['chromeMac', 'firefoxMac', 'safariMac', 'mobileSafari', 'edge']
}));
};