You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
623 B

4 years ago
const generate = require('videojs-generate-karma-config');
module.exports = function(config) {
// see https://github.com/videojs/videojs-generate-karma-config
// for options
const options = {
coverage: false,
browsers(aboutToRun) {
return aboutToRun.filter(function(launcherName) {
return !(/^Safari/).test(launcherName);
});
},
browserstackLaunchers(defaults) {
delete defaults.bsSafariMojave;
delete defaults.bsSafariElCapitan;
return defaults;
}
};
config = generate(config, options);
// any other custom stuff not supported by options here!
};