Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Unit tests fail due to unhandled rejection in angular-mocks #889

Closed
jwngr opened this issue Dec 20, 2016 · 1 comment
Closed

Unit tests fail due to unhandled rejection in angular-mocks #889

jwngr opened this issue Dec 20, 2016 · 1 comment
Assignees

Comments

@jwngr
Copy link

jwngr commented Dec 20, 2016

Version info

Branch: master

Chrome: 55.0.2883

Node.js: 4.4.5

Steps to reproduce

Simply run grunt test:unit.

Expected behavior

Tests pass without any errors.

Actual behavior

Tests return the following error in the angular-mocks dependency:

  √ should return true once $loaded() promise is rejected
$ref
  √ should return Firebase instance it was created with
Chrome 56.0.2924 (Windows 8.1 0.0.0) ERROR
  Uncaught Possibly unhandled rejection: {}
  at .../angularfire/node_modules/angular-mocks/angular-mocks.js:250
Chrome 56.0.2924 (Windows 8.1 0.0.0) ERROR
  Uncaught Possibly unhandled rejection: {}
  at .../angularfire/node_modules/angular-mocks/angular-mocks.js:250
@jwngr jwngr self-assigned this Dec 20, 2016
@jwngr
Copy link
Author

jwngr commented Dec 20, 2016

I believe this is caused by angular/angular.js#15516 and should be fixed by simply updating the angular-mocks dependency. PR incoming.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant