forked from formatjs/date-time-format-timezone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.saucelabs.js
55 lines (53 loc) · 1.11 KB
/
karma.conf.saucelabs.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
// Karma configuration
module.exports = function(config) {
const customLaunchers = {
sl_ie_10: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '10'
},
sl_ie_11: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '11'
},
sl_safari: {
base: 'SauceLabs',
browserName: 'safari',
version: '10'
},
sl_edge: {
base: 'SauceLabs',
browserName: 'microsoftedge'
},
sl_firefox: {
base: 'SauceLabs',
browserName: 'firefox',
version: '64'
}
};
config.set({
basePath: '',
plugins: ['karma-chrome-launcher',
'karma-firefox-launcher',
'karma-phantomjs-launcher',
'karma-sauce-launcher',
'karma-mocha'
],
mochaReporter: {
output: 'noFailures'
},
sauceLabs: {
testName: 'DateTimeFormatTimeZone tests'
},
frameworks: ['mocha'],
customLaunchers: customLaunchers,
reporters: [process.env.TRAVIS ? 'dots' : 'progress', 'saucelabs'],
logLevel: 'ERROR',
colors: true,
browserNoActivityTimeout: 100000,
port: 9999,
singleRun: true,
browsers: ['sl_ie_10', 'sl_edge', 'sl_ie_11', 'sl_safari', 'sl_firefox']
});
};