Skip to content

Conversation

xemle
Copy link

@xemle xemle commented Aug 7, 2017

What issue is this PR resolving? Alternatively, please describe the bugfix/enhancement this PR aims to provide

Replaced anonymous factory by named factory for better caching and reuse in the $injector service.

We had problems with protractor-http-mock where the interceptor was instantiated multiple times due the anonymous factory and caused timeouts in protractor.

Have you provided unit tests that either prove the bugfix or cover the enhancement?

I've checked the tests and nothing breaks. If you know how to test it, I will to my very best to create one.

Related issues

xemle added 2 commits August 7, 2017 16:23
Replaced anonymous factory by named factory for better caching and
reusage in the $injector service
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.

1 participant