Skip to content

Commit

Permalink
Update Sauce browser selection in karma config (#4251)
Browse files Browse the repository at this point in the history
I mostly copied this from the current config in Underscore.
  • Loading branch information
jgonggrijp committed Jan 22, 2022
1 parent f80570a commit b715738
Showing 1 changed file with 16 additions and 22 deletions.
38 changes: 16 additions & 22 deletions karma.conf-sauce.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,31 @@ var _ = require('underscore');

// Browsers to run on Sauce Labs platforms
var sauceBrowsers = _.reduce([
['firefox', '35'],
['firefox', '30'],
['firefox', '21'],
['firefox', 'latest'],
['firefox', '60'],
['firefox', '40'],
['firefox', '11'],
['firefox', '4'],

['chrome', 'latest'],
['chrome', '60'],
['chrome', '40'],
['chrome', '39'],
['chrome', '31'],
['chrome', '26'],

['microsoftedge', '20.10240', 'Windows 10'],
['internet explorer', '11', 'Windows 10'],
// latest Edge as well as pre-Blink versions
['microsoftedge', 'latest', 'Windows 10'],
['microsoftedge', '18', 'Windows 10'],
['microsoftedge', '13', 'Windows 10'],

['internet explorer', 'latest', 'Windows 10'],
['internet explorer', '10', 'Windows 8'],
['internet explorer', '9', 'Windows 7'],
// Older versions of IE no longer supported by Sauce Labs

['opera', '12'],
['opera', '11'],

['android', '5'],
['android', '4.4'],

// 4.3 currently erros with some router tests
// ['android', '4.3'],

['android', '4.0'],
['safari', 'latest', 'macOS 11'],
['safari', '12', 'macOS 10.14'],
['safari', '11', 'macOS 10.13'],
['safari', '8', 'OS X 10.10'],

['safari', '8.0', 'OS X 10.10'],
['safari', '7'],
['safari', '6'],
['safari', '5']
], function(memo, platform) {
// internet explorer -> ie
var label = platform[0].split(' ');
Expand Down

0 comments on commit b715738

Please # to comment.