Chrome Canary is launched via the karma-chrome-launcher. To support launching two different browsers via one plugin, I could either add a further special case to js-env->plugin and js-env->browser, or refactor the karma code in light of this new use case. I chose the latter as I think it should be more maintainable and less error prone in the long run.
I could be persuaded the other way to add special cases for Chrome Canary if you preferred that more.
I would have liked to add tests for this, but karma-chrome-launcher only supports Chrome, Chrome Canary, and Dartium, and there is no Chrome Canary available for Linux.
Chrome Canary is launched via the karma-chrome-launcher. To support launching two different browsers via one plugin, I could either add a further special case to js-env->plugin and js-env->browser, or refactor the karma code in light of this new use case. I chose the latter as I think it should be more maintainable and less error prone in the long run.
I could be persuaded the other way to add special cases for Chrome Canary if you preferred that more.