Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

refactor(ngMock): make ngMock minification-safe #14073

Closed

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Feb 17, 2016

It is not common, but some workflows result in angular-mocks being minified.

Fixes #13542

It is not common, but some workflows result in `angular-mocks` being minified.

Fixes angular#13542
@petebacondarwin
Copy link
Contributor

Are these the only places in mocks that we use injection?
If so, LGTM

@gkalpak
Copy link
Member Author

gkalpak commented Feb 23, 2016

These are the only places (I could find) that we use injection in a not-minification-safe way.

@petebacondarwin
Copy link
Contributor

Cool. Go ahead and make my day!

@gkalpak gkalpak closed this in 59aef48 Feb 23, 2016
gkalpak added a commit that referenced this pull request Feb 23, 2016
It is not common, but some workflows result in `angular-mocks` being minified.

Fixes #13542

Closes #14073
@gkalpak
Copy link
Member Author

gkalpak commented Feb 23, 2016

Backported to v1.5.x as a2c192f.

@gkalpak gkalpak deleted the fix-ngMock-make-minifications-safe branch February 23, 2016 12:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants