forked from single-spa/single-spa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma-saucelabs.conf.js
61 lines (53 loc) · 1.19 KB
/
karma-saucelabs.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
51
52
53
54
55
56
57
58
59
60
61
var commonConfig = require('./karma.conf.js');
var customLaunchers = {
sl_chrome: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'Windows 7',
version: 'latest',
},
sl_firefox: {
base: 'SauceLabs',
browserName: 'firefox',
version: 'latest',
},
sl_ie_11: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 8.1',
version: '11',
},
sl_ios_safari_9: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'OS X 10.11',
version: '9.0',
},
sl_ios_safari_10: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'OS X 10.11',
version: '10.0',
},
sl_edge: {
base: 'SauceLabs',
browserName: 'microsoftedge',
platform: 'Windows 10',
version: 'latest',
},
};
module.exports = function(config) {
commonConfig(config);
config.set({
sauceLabs: {
testName: "single-spa tests",
tunnelIdentifier: process.env.TRAVIS_JOB_NUMBER,
// username: 'joeldenning',
// accessKey: 'access-key'
},
customLaunchers: customLaunchers,
singleRun: true,
reporters: ['progress', 'dots', 'saucelabs'],
browsers: Object.keys(customLaunchers),
});
}