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

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

Verified

This commit was signed with the committer’s verified signature.
dbower-updox Daniel Bower
Replaced anonymous factory by named factory for better caching and
reusage in the $injector service

Verified

This commit was signed with the committer’s verified signature.
dbower-updox Daniel Bower
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.

None yet

1 participant