File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -545,8 +545,10 @@ function getBrowsersFromCLI() {
545545 var outputList = [ ] ;
546546 for ( var i = 0 ; i < inputList . length ; i ++ ) {
547547 var input = inputList [ i ] ;
548- if ( sauceConf . customLaunchers . hasOwnProperty ( input ) ) {
549- //Non-sauce browsers case: overrides everything, ignoring other options
548+ var karmaChromeLauncher = require ( 'karma-chrome-launcher' ) ;
549+ if ( sauceConf . customLaunchers . hasOwnProperty ( input ) || karmaChromeLauncher . hasOwnProperty ( "launcher:" + input ) ) {
550+ // In case of non-sauce browsers, or browsers defined in karma-chrome-launcher (Chrome, ChromeCanary and Dartium):
551+ // overrides everything, ignoring other options
550552 outputList = [ input ] ;
551553 isSauce = false ;
552554 break ;
You can’t perform that action at this time.
0 commit comments