Closed scottohara closed 4 years ago
As of 9-Jun-2017, we have switched from Chrome to ChromeHeadless in test:src
and test:build
, and have temporarily removed Firefox (and all xvfb
config) from .travis.yml
.
Leaving this task open, as we would like to have the test suite run against Firefox 55 (which contains the above fix), and ideally when Firefox Headless is supported (i.e. MOZ_HEADLESS=1 /path/firefox
) we can do this without requiring xvfb
.
Migrated from Travis to GitHub actions, so this is no longer applicable
Angular issue: https://github.com/angular/angular.js/issues/14240 Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1216630
After removing
babel
build step, test suite passes locally (Chrome) but fails in Travis (Firefox) withClass constructor Controller cannot be invoked without 'new'
The issue is that Angular tries to detect whether a Controller is a
function
orclass
(i.e.$injector.isClass()
), but when stringified, Firefox convertsclass Foo {}
tofunction Foo() {}
.