Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with minified libraries and code coverage #4534

Merged
merged 1 commit into from Sep 25, 2016
Merged

Fix issue with minified libraries and code coverage #4534

merged 1 commit into from Sep 25, 2016

Conversation

withinboredom
Copy link
Contributor

@withinboredom withinboredom commented Sep 20, 2016

Q A
Bug fix? yes?
Breaking change? no
New feature? no
Deprecations? no
Spec compliancy? yes
Tests added/pass? no
Fixed tickets --
License MIT
Doc PR --

We ran into this issue where including a minified file (specifically -- https://github.com/googlei18n/libphonenumber) was causing it to think it should bail while calculating code coverage for our app. Raising the number to an insane depth (10,000) vs a slightly insane (but easily reachable) depth erased this problem.

Fix queue size
@codecov-io
Copy link

codecov-io commented Sep 20, 2016

Current coverage is 88.34% (diff: 100%)

Merging #4534 into master will increase coverage by <.01%

@@             master      #4534   diff @@
==========================================
  Files           194        194          
  Lines         13621      13664    +43   
  Methods        1427       1439    +12   
  Messages          0          0          
  Branches       3150       3164    +14   
==========================================
+ Hits          12033      12072    +39   
- Misses         1588       1592     +4   
  Partials          0          0          

Powered by Codecov. Last update cb4b2b0...c5504c4

@hzoo
Copy link
Member

hzoo commented Sep 22, 2016

Not really sure about doing this - is there a particular reason you are running babel on a minified library?

@withinboredom
Copy link
Contributor Author

It became part of a web pack bundle in some good ole legacy code...

We used this as an excuse to get rid of the file, but it would be nice if this were an actually insane high number, but not a deal breaker if it doesn't get merged in. ;)

@loganfsmyth
Copy link
Member

This seems fine to me, what's one arbitrary limit vs another, as long as we have it.

@loganfsmyth loganfsmyth merged commit 08b45ca into babel:master Sep 25, 2016
@hzoo hzoo added the PR: Bug Fix 🐛 A type of pull request used for our changelog categories label Sep 26, 2016
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Bug Fix 🐛 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants