Skip to content

Commit

Permalink
fix: disable firefox headless in karma (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrums86 authored Jan 29, 2024
1 parent 8800888 commit c217b79
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ module.exports = function(config) {
delete defaults.bsEdgeWin10;
delete defaults.bsIE11Win10;
return defaults;
},
browsers(aboutToRun) {
// TODO - current firefox headless fails to run w karma, blocking the npm version script.
// We should look into a better workaround that allows us to still run firefox through karma
// See https://github.com/karma-runner/karma-firefox-launcher/issues/328
return aboutToRun.filter(function(launcherName) {
return launcherName !== 'FirefoxHeadless';
});
}
};

Expand Down

0 comments on commit c217b79

Please sign in to comment.