saguijs / sagui

:monkey: Front-end tooling in a single dependency
http://sagui.js.org/
MIT License
669 stars 32 forks source link

Use Chrome Headless by default to run unit tests 😑 #379

Closed npejo closed 6 years ago

npejo commented 6 years ago

Currently Sagui uses PhantomJS to run the tests. Since Chrome Headless is available in the stable release of Chrome 59, we can switch to use it by default.

This PR makes sure that we fallback to PhanthomJS if Chrome is not installed on the machine and preserves the option for consumers to override the browser by setting value for additionalKarmaConfig.browsers in sagui.config.js

npejo commented 6 years ago

hm... 😕