Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 6636937

Browse files
committed
fix travis tests
1 parent 0e0c8b0 commit 6636937

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

karma.conf.js

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,15 @@ module.exports = function(config) {
9898

9999
if (options.saucelabs) {
100100

101-
var customLaunchers;
102-
103-
// IE tests disabled for now
104-
/*
105-
customLaunchers = geSaLaKaCuLa({
101+
var customLaunchers = geSaLaKaCuLa({
106102
'Windows 7': {
107103
'internet explorer': '9..11'
108104
}
109105
});
110-
*/
106+
107+
108+
// IE tests disabled for now (https://github.com/ModuleLoader/es6-module-loader/issues/295)
109+
customLaunchers = undefined;
111110

112111
if (options.ie8) {
113112
customLaunchers = geSaLaKaCuLa({
@@ -143,18 +142,20 @@ module.exports = function(config) {
143142
browserNoActivityTimeout: 30000,
144143
captureTimeout: 120000,
145144

146-
browsers: Object.keys(customLaunchers),
147145
sauceLabs: {
148146
testName: pkg.name,
149147
recordScreenshots: false,
150148
build: build,
151149
tunnelIdentifier: options.travis ?
152150
process.env.TRAVIS_JOB_NUMBER : Math.floor(Math.random() * 1000)
153-
},
154-
customLaunchers: customLaunchers
151+
}
155152
});
156153

157-
154+
if (customLaunchers)
155+
config.set({
156+
browsers: Object.keys(customLaunchers),
157+
customLaunchers: customLaunchers
158+
});
158159
}
159160
};
160161

0 commit comments

Comments
 (0)