Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
6,384 additions
and
5,703 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,78 @@ | ||
var baseConfig = require('./karma.config.js'); | ||
|
||
module.exports = function(config) { | ||
baseConfig(config); | ||
|
||
baseConfig(config); | ||
var customLaunchers = { | ||
SL_Chrome: { | ||
base: 'SauceLabs', | ||
browserName: 'chrome', | ||
}, | ||
SL_FireFox: { | ||
base: 'SauceLabs', | ||
browserName: 'firefox', | ||
}, | ||
SL_Safari: { | ||
base: 'SauceLabs', | ||
browserName: 'safari', | ||
}, | ||
SL_IE_10: { | ||
base: 'SauceLabs', | ||
browserName: 'internet explorer', | ||
platform: 'Windows 8', | ||
version: '10', | ||
}, | ||
SL_IE_11: { | ||
base: 'SauceLabs', | ||
browserName: 'internet explorer', | ||
platform: 'Windows 8.1', | ||
version: '11', | ||
}, | ||
// 'SL_IE_13': { | ||
// base: 'SauceLabs', | ||
// browserName: 'microsoftedge', | ||
// version: '13', | ||
// platform: 'Windows 10', | ||
// }, | ||
SL_IE_14: { | ||
base: 'SauceLabs', | ||
browserName: 'microsoftedge', | ||
version: '14', | ||
platform: 'Windows 10', | ||
}, | ||
}; | ||
|
||
var customLaunchers = { | ||
'SL_Chrome': { | ||
base: 'SauceLabs', | ||
browserName: 'chrome', | ||
}, | ||
'SL_FireFox': { | ||
base: 'SauceLabs', | ||
browserName: 'firefox', | ||
}, | ||
'SL_Safari': { | ||
base: 'SauceLabs', | ||
browserName: 'safari', | ||
}, | ||
'SL_IE_10': { | ||
base: 'SauceLabs', | ||
browserName: 'internet explorer', | ||
platform: 'Windows 8', | ||
version: '10', | ||
}, | ||
'SL_IE_11': { | ||
base: 'SauceLabs', | ||
browserName: 'internet explorer', | ||
platform: 'Windows 8.1', | ||
version: '11', | ||
}, | ||
// 'SL_IE_13': { | ||
// base: 'SauceLabs', | ||
// browserName: 'microsoftedge', | ||
// version: '13', | ||
// platform: 'Windows 10', | ||
// }, | ||
'SL_IE_14': { | ||
base: 'SauceLabs', | ||
browserName: 'microsoftedge', | ||
version: '14', | ||
platform: 'Windows 10', | ||
}, | ||
}; | ||
config.set({ | ||
// start these browsers | ||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher | ||
sauceLabs: { | ||
testName: 'Stream-JS Browser Tests', | ||
public: 'public', | ||
connectOptions: { | ||
// verbose: true, | ||
// verboseDebugging: true, | ||
}, | ||
}, | ||
customLaunchers: customLaunchers, | ||
browsers: Object.keys(customLaunchers), | ||
|
||
config.set({ | ||
// start these browsers | ||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher | ||
sauceLabs: { | ||
testName: 'Stream-JS Browser Tests', | ||
public: "public", | ||
connectOptions: { | ||
// verbose: true, | ||
// verboseDebugging: true, | ||
} | ||
}, | ||
customLaunchers: customLaunchers, | ||
browsers: Object.keys(customLaunchers), | ||
reporters: ['dots', 'saucelabs'], | ||
|
||
reporters: ['dots', 'saucelabs'], | ||
// Continuous Integration mode | ||
// if true, Karma captures browsers, runs the tests and exits | ||
singleRun: true, | ||
|
||
// Continuous Integration mode | ||
// if true, Karma captures browsers, runs the tests and exits | ||
singleRun: true, | ||
captureTimeout: 60000, | ||
// Somehow karma doesn't capture intermediate behavior and only | ||
// captures once an entire suite is complete. This timeout will | ||
// guarantee that the browser will have enough time to do this: | ||
|
||
captureTimeout: 60000, | ||
// Somehow karma doesn't capture intermediate behavior and only | ||
// captures once an entire suite is complete. This timeout will | ||
// guarantee that the browser will have enough time to do this: | ||
// Integration tests can take very long we will give the browser | ||
// 300 seconds to complete these. | ||
browserNoActivityTimeout: 300 * 1000, | ||
|
||
// Integration tests can take very long we will give the browser | ||
// 300 seconds to complete these. | ||
browserNoActivityTimeout: 300 * 1000, | ||
|
||
// Concurrency level | ||
// how many browser should be started simultaneous | ||
concurrency: 3 | ||
}); | ||
// Concurrency level | ||
// how many browser should be started simultaneous | ||
concurrency: 3, | ||
}); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.