Skip to content

Update dependency and test command for PhantomJS #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 27, 2016
Merged

Conversation

davidcheung
Copy link
Contributor

connected to #215

The resolution to an error when running "npm test" is to update the PhantomJS dependency to PhantomJS2.

Background

Current angular dependency is defined:
"angular": "^1.4.9"

With the release of angular 1.5 there are errors loading angular in PhantomJS that affect this repo's default test command.

Original Issue not addressed in PhantomJS 1.0: ariya/phantomjs#10522

Recent discussion specific to angular 1.5: angular/angular.js#13794

Error Message:

PhantomJS 1.9.8 (Windows 8 0.0.0) ERROR
Error: [$injector:modulerr] Failed to instantiate module ng due to:
TypeError: 'undefined' is not an object (evaluating 'Function.prototype.bind.apply')

@davidcheung
Copy link
Contributor Author

davidcheung commented Jul 25, 2016

@slnode test please

@bajtos
Copy link
Member

bajtos commented Jul 27, 2016

@davidcheung LGTM, should we go ahead and land this patch?

@davidcheung davidcheung merged commit 6e2b948 into master Jul 27, 2016
@davidcheung davidcheung deleted the phantomjs branch July 27, 2016 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants