forked from kottenator/jquery-circle-progress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma-saucelabs.conf.js
60 lines (59 loc) · 1.47 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
// Karma configuration
module.exports = function(config) {
var customLaunchers = {
'Latest Chrome on Windows 10': {
base: 'SauceLabs',
platform: 'Windows 10',
browserName: 'chrome',
version: 'latest'
},
'Latest Firefox on Windows 10': {
base: 'SauceLabs',
platform: 'Windows 10',
browserName: 'firefox',
version: 'latest'
},
'IE9 on Windows 7': {
base: 'SauceLabs',
platform: 'Windows 7',
browserName: 'internet explorer',
version: '9'
},
'Latest Safari on OS X 10.11': {
base: 'SauceLabs',
platform: 'OS X 10.11',
browserName: 'safari',
version: 'latest'
},
'iPhone emulator': {
base: 'SauceLabs',
platform: "OS X 10.11",
browserName: 'iphone',
version: "8.1"
},
'Android emulator': {
base: 'SauceLabs',
platform: 'Linux',
browserName: 'android',
version: '5.0'
}
};
config.set({
frameworks: ['qunit'],
files: [
{pattern: 'tests/images/circle.png', served: true, watched: false, included: false},
'node_modules/jquery/dist/jquery.min.js',
'dist/circle-progress.js',
'tests/test_utils.js',
'tests/tests.js'
],
sauceLabs: {
testName: 'Unit tests for jquery-circle-progress'
},
captureTimeout: 120000,
customLaunchers: customLaunchers,
browsers: Object.keys(customLaunchers),
reporters: ['dots', 'saucelabs'],
singleRun: true
});
};