forked from summernote/summernote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.saucelabs.conf.js
98 lines (96 loc) · 2.39 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
var webpackConfig = require('./config/webpack.config.dev.js');
module.exports = function (config) {
config.set({
frameworks: ['mocha', ],
concurrency: 3,
colors: true,
logLevel: config.LOG_INFO,
files: [
'node_modules/jquery/dist/jquery.js',
{ pattern: 'src/js/**/*.js' },
{ pattern: 'test/**/*.spec.js' }
],
customLaunchers: {
'SL_WINDOWS_IE10': {
base: 'SauceLabs',
browserName: 'Internet Explorer',
version: '10.0',
platform: 'Windows 8',
},
'SL_WINDOWS_IE11': {
base: 'SauceLabs',
browserName: 'Internet Explorer',
version: '11.0',
platform: 'Windows 10',
},
'SL_WINDOWS_EDGE': {
base: 'SauceLabs',
browserName: 'MicrosoftEdge',
version: 'latest',
platform: 'Windows 10',
},
'SL_WINDOWS_FIREFOX': {
base: 'SauceLabs',
browserName: 'Firefox',
version: 'latest',
platform: 'Windows 10',
},
'SL_WINDOWS_CHROME': {
base: 'SauceLabs',
browserName: 'Chrome',
version: 'latest',
platform: 'Windows 10',
},
'SL_LINUX_FIREFOX': {
base: 'SauceLabs',
browserName: 'Firefox',
version: 'latest',
platform: 'Linux',
},
'SL_MACOS_CHROME': {
base: 'SauceLabs',
browserName: 'Chrome',
version: 'latest',
platform: 'macOS 10.14',
},
'SL_MACOS_SAFARI': {
base: 'SauceLabs',
browserName: 'Safari',
version: 'latest',
platform: 'macOS 10.14',
},
'SL_MACOS_FIREFOX': {
base: 'SauceLabs',
browserName: 'Firefox',
version: 'latest',
platform: 'macOS 10.14',
},
},
browsers: [
//'SL_WINDOWS_IE10',
//'SL_WINDOWS_IE11',
'SL_WINDOWS_EDGE',
'SL_WINDOWS_CHROME',
'SL_WINDOWS_FIREFOX',
'SL_MACOS_CHROME',
'SL_MACOS_SAFARI',
'SL_MACOS_FIREFOX',
//'SL_LINUX_FIREFOX',
],
sauceLabs: {
testName: 'local unit tests for summernote',
},
preprocessors: {
'src/js/**/*.js': ['webpack'],
'test/**/*.spec.js': ['webpack']
},
webpack: webpackConfig,
webpackMiddleware: {
stats: 'errors-only',
},
reporters: ['dots'],
browserDisconnectTimeout: 10000,
browserNoActivityTimeout: 60000,
singleRun: true,
});
};