-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma-sauce.conf.js
74 lines (63 loc) · 1.3 KB
/
karma-sauce.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
62
63
64
65
66
67
68
69
70
71
72
73
74
var defaultConfig = require('./karma.conf');
var sauceLaunchers = {
chromeMac: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'OS X 10.10'
},
firefoxMac: {
base: 'SauceLabs',
browserName: 'firefox',
platform: 'OS X 10.10'
},
chromeWin7: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'Windows 7'
},
firefoxWin7: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'Windows 7'
},
chromeWin8_1: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'Windows 8.1'
},
firefoxWin8_1: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'Windows 8.1'
},
ie9: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 7',
version: '9'
},
ie10: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 7',
version: '10'
},
ie11: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 8.1',
version: '11'
}
}
module.exports = function (config) {
defaultConfig(config);
config.set({
sauceLabs: {
testName: 'iframe-transport Unit Tests'
},
customLaunchers: sauceLaunchers,
browsers: Object.keys(sauceLaunchers),
reporters: ['dots', 'saucelabs'],
singleRun: true
});
};