Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

fix(spec): Use exceptionHandler to test errors. #1879

Merged
merged 1 commit into from
Jan 4, 2017

Conversation

pete-otaqui
Copy link
Contributor

Angular 1.6 alters the way uncaught promises are handled - errors cause promise rejection rather than outright exceptions to be thrown. Update existing exception tests to use the exceptionHandler service instead of .throws()

Closes #1877

Angular 1.6 alters the way uncaught promises are handled - errors cause promise rejection rather than outright exceptions to be thrown.  Update existing exception tests to use the exceptionHandler service instead of `.throws()`

Closes angular-ui#1877
@aaronroberson aaronroberson merged commit b549db9 into angular-ui:master Jan 4, 2017
@aaronroberson
Copy link
Contributor

Thanks for the PR @pete-otaqui it will be in the next release!

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

Successfully merging this pull request may close these issues.

2 participants