Details
-
Type: Task
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6
-
Fix Version/s: 4.6
-
Component/s: Test suite
-
Labels:None
-
Documentation Required?:None
Description
When one runs "npm test", it executes the tests in Chrome. A couple issues:
1. In some Linux flavors, Chrome is installed as "Chromium" and doesn't get picked up by karma-chrome-launcher.
2. In OSX, it opens up a blank window which you can't close (without killing the tests).
3. The official test runs in CI need to be headless.
Switching the default to "PhantomJS", we can have npm download a suitable runtime. Observed to work in OSX and multiple Linux flavors.