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

Increase Test Coverage for XML Http Plugin #1216

Merged
merged 12 commits into from
Jun 23, 2020

Conversation

thgao
Copy link
Contributor

@thgao thgao commented Jun 18, 2020

Which problem is this PR solving?

Short description of the changes

  • Added tests to increase code coverage in xhr.ts to at least 90%
  • note: opentelemetry-web already has it's code coverage increased to >90% now

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 18, 2020

CLA Check
The committers are authorized under a signed CLA.

@codecov
Copy link

codecov bot commented Jun 18, 2020

Codecov Report

Merging #1216 into master will increase coverage by 0.87%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1216      +/-   ##
==========================================
+ Coverage   92.32%   93.20%   +0.87%     
==========================================
  Files         122      122              
  Lines        3533     3533              
  Branches      714      714              
==========================================
+ Hits         3262     3293      +31     
+ Misses        271      240      -31     
Impacted Files Coverage Δ
...s/opentelemetry-plugin-xml-http-request/src/xhr.ts 93.88% <0.00%> (+17.22%) ⬆️

Copy link
Member

@mayurkale22 mayurkale22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nice, thanks for working on this.

@mayurkale22
Copy link
Member

@open-telemetry/javascript-approvers Please take a look when you get a chance.

Copy link
Member

@dyladan dyladan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test coverage is something that gets left behind too often. Nice to have some improvements here.

@mayurkale22 mayurkale22 added enhancement New feature or request Merge:LGTM This PR is ready to be merged by a Maintainer (has enough valid approvals, successful build, etc.) labels Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Merge:LGTM This PR is ready to be merged by a Maintainer (has enough valid approvals, successful build, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants