Skip to content

Commit

Permalink
add more unit tests for various browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed May 23, 2016
1 parent c04c1d7 commit 0b1e9b3
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,41 @@ module.exports = function(config) {
+ 'environment variables!');
}
cfg.reporters.push('saucelabs');
cfg.browsers.push('ie8');
cfg.customLaunchers = {
ie8: {
base: 'SauceLabs',
browserName: 'internet explorer',
platform: 'Windows XP',
platform: 'Windows 7',
version: '8.0'
},
chrome: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'Windows 8',
version: 'latest'
},
edge: {
base: 'SauceLabs',
browserName: 'MicrosoftEdge',
platform: 'Windows 10',
version: 'latest'
},
firefox: {
base: 'SauceLabs',
browserName: 'firefox',
platform: 'Windows 8.1',
version: 'latest'
},
safari: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'OS X 10.11',
version: 'latest'
}
};

cfg.browsers = cfg.browsers.concat(Object.keys(cfg.customLaunchers));

cfg.sauceLabs = {
public: 'public'
};
Expand Down

0 comments on commit 0b1e9b3

Please sign in to comment.