1
1
module . exports = function ( config ) {
2
2
const testWebpackConfig = require ( './webpack.test.js' ) ;
3
- const customLaunchers = {
4
- sl_chrome : {
5
- base : 'SauceLabs' ,
6
- browserName : 'chrome' ,
7
- platform : 'Windows 7' ,
8
- version : '35'
9
- } ,
10
- // sl_firefox: {
11
- // base: 'SauceLabs',
12
- // browserName: 'firefox',
13
- // version: '30'
14
- // },
15
- // sl_ios_safari: {
16
- // base: 'SauceLabs',
17
- // browserName: 'iphone',
18
- // platform: 'OS X 10.9',
19
- // version: '7.1'
20
- // },
21
- // sl_ie_11: {
22
- // base: 'SauceLabs',
23
- // browserName: 'internet explorer',
24
- // platform: 'Windows 8.1',
25
- // version: '11'
26
- // }
27
- } ;
28
3
const configuration = {
29
4
basePath : '' ,
30
5
frameworks : [ 'jasmine' ] ,
@@ -39,28 +14,18 @@ module.exports = function (config) {
39
14
webpackServer : {
40
15
noInfo : true ,
41
16
} ,
42
- sauceLabs : {
43
- username : 'akirasosa' ,
44
- accessKey : '00268586-4cfd-447d-841f-e2f247a5b7e9' ,
45
- testName : 'Web App Unit Tests'
46
- } ,
47
- customLaunchers : customLaunchers ,
48
- browsers : Object . keys ( customLaunchers ) ,
49
- reporters : [ 'dots' , 'saucelabs' ] ,
50
- // reporters: ['mocha'],
17
+ reporters : [ 'mocha' ] ,
51
18
port : 9876 ,
52
19
colors : true ,
53
20
logLevel : config . LOG_INFO ,
54
21
autoWatch : true ,
55
- captureTimeout : 120000 ,
56
- browserNoActivityTimeout : 600000 ,
57
- // browsers: ['Chrome'],
58
- // customLaunchers: {
59
- // ChromeTravisCi: {
60
- // base: 'Chrome',
61
- // flags: ['--no-sandbox'],
62
- // },
63
- // },
22
+ browsers : [ 'Chrome' ] ,
23
+ customLaunchers : {
24
+ ChromeTravisCi : {
25
+ base : 'Chrome' ,
26
+ flags : [ '--no-sandbox' ] ,
27
+ } ,
28
+ } ,
64
29
singleRun : true ,
65
30
} ;
66
31
0 commit comments