-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkarma.conf.js
56 lines (48 loc) · 1.36 KB
/
karma.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
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
'test/*.spec.js',
{ pattern: 'test/**/*', included: false},
{ pattern: 'closure-react-loader.js*', included: false},
{ pattern: 'node_modules/closure-library/closure/goog/**/*', included: false},
{ pattern: 'node_modules/react/dist/**/*', included: false}
],
reporters: ['dots', 'saucelabs'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
// enable / disable watching file and executing tests whenever any file changes
autoWatch: false,
// start these browsers
browsers: ['Firefox', 'sl_chrome', 'sl_ios_safari', 'sl_ie_11'],
customLaunchers: {
sl_chrome: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'Windows 7',
version: '35'
},
sl_ios_safari: {
base: 'SauceLabs',
browserName: 'iphone',
platform: 'OS X 10.9',
version: '7.1'
},
sl_ie_11: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows 8.1',
version: '11'
}
},
captureTimeout: 240000,
browserNoActivityTimeout: 120000,
sauceLabs: {
testName: 'closure-react-loader unit tests'
},
// Continuous Integration mode
singleRun: false
})
}