Skip to content

Commit 112b44c

Browse files
committed
revert unwanted changes on karma.conf
1 parent bd76034 commit 112b44c

File tree

1 file changed

+8
-43
lines changed

1 file changed

+8
-43
lines changed

config/karma.conf.js

Lines changed: 8 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,5 @@
11
module.exports = function (config) {
22
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-
};
283
const configuration = {
294
basePath: '',
305
frameworks: ['jasmine'],
@@ -39,28 +14,18 @@ module.exports = function (config) {
3914
webpackServer: {
4015
noInfo: true,
4116
},
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'],
5118
port: 9876,
5219
colors: true,
5320
logLevel: config.LOG_INFO,
5421
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+
},
6429
singleRun: true,
6530
};
6631

0 commit comments

Comments
 (0)