asd/asd-pc/node_modules/mux.js/scripts/karma.conf.js
愉快的大福 eb8378e551 init
2024-11-21 11:06:22 +08:00

26 lines
623 B
JavaScript

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!
};