Skip to content

Commit

Permalink
restrict ci browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
mister-ben committed Dec 12, 2023
1 parent 9a82dda commit d319e4d
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions scripts/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,11 @@ module.exports = function(config) {
// see https://github.com/videojs/videojs-generate-karma-config
// for options
const options = {
ciLaunchers(defaults) {
// add another browser to travis testing
return Object.assign(defaults, {
"bsChrome": {
"base": "BrowserStack",
"browser": "chrome",
"os": "Windows",
"os_version": "11",
"browserstack.local": "false",
"browserstack.video": "false"
},
"bsFirefox": {
"base": "BrowserStack",
"browser": "firefox",
"os": "Windows",
"os_version": "11",
"browserstack.local": "false",
"browserstack.video": "false"
}
browsers(aboutToRun) {
return aboutToRun.filter(function(launcherName) {
return !(/Chromium/).test(launcherName);
});
}
},
};

config = generate(config, options);
Expand Down

0 comments on commit d319e4d

Please sign in to comment.