-
Notifications
You must be signed in to change notification settings - Fork 488
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
Additional Test Coverage around TimelineViewingLayer #617
Additional Test Coverage around TimelineViewingLayer #617
Conversation
In addition to rounding out the test suite, this commit also removes some of the "Math.random" calls from the test suite. These randoms were causing some code coverage jitter in the test suite by randomly executing certain code paths. Removing these randomizations will keep coverage reporting consistent and avoid random "coverage losses" based on chance. Signed-off-by: Tim Klever <Tim.V.Klever@aexp.com>
CreateRef API was introduced in React 16.3 Signed-off-by: Tim Klever <Tim.V.Klever@aexp.com>
Codecov Report
@@ Coverage Diff @@
## master #617 +/- ##
==========================================
+ Coverage 93.44% 93.54% +0.10%
==========================================
Files 227 227
Lines 5902 5901 -1
Branches 1486 1485 -1
==========================================
+ Hits 5515 5520 +5
+ Misses 346 340 -6
Partials 41 41
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good.
@rubenvp8510 please make sure PRs (and, respectively, merged commits) have the title that satisfies "good commit message" criteria (see https://github.com/jaegertracing/jaeger-ui/blob/master/CONTRIBUTING.md#making-a-change) |
* add additional tests around existing TimelineViewingLayer functionality In addition to rounding out the test suite, this commit also removes some of the "Math.random" calls from the test suite. These randoms were causing some code coverage jitter in the test suite by randomly executing certain code paths. Removing these randomizations will keep coverage reporting consistent and avoid random "coverage losses" based on chance. Signed-off-by: Tim Klever <Tim.V.Klever@aexp.com> * migrate from callback ref to CreateRef in TimelineViewingLayer CreateRef API was introduced in React 16.3 Signed-off-by: Tim Klever <Tim.V.Klever@aexp.com> Co-authored-by: Ruben Vargas Palma <ruben.vp8510@gmail.com> Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
* add additional tests around existing TimelineViewingLayer functionality In addition to rounding out the test suite, this commit also removes some of the "Math.random" calls from the test suite. These randoms were causing some code coverage jitter in the test suite by randomly executing certain code paths. Removing these randomizations will keep coverage reporting consistent and avoid random "coverage losses" based on chance. Signed-off-by: Tim Klever <Tim.V.Klever@aexp.com> * migrate from callback ref to CreateRef in TimelineViewingLayer CreateRef API was introduced in React 16.3 Signed-off-by: Tim Klever <Tim.V.Klever@aexp.com> Co-authored-by: Ruben Vargas Palma <ruben.vp8510@gmail.com> Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
* add additional tests around existing TimelineViewingLayer functionality In addition to rounding out the test suite, this commit also removes some of the "Math.random" calls from the test suite. These randoms were causing some code coverage jitter in the test suite by randomly executing certain code paths. Removing these randomizations will keep coverage reporting consistent and avoid random "coverage losses" based on chance. Signed-off-by: Tim Klever <Tim.V.Klever@aexp.com> * migrate from callback ref to CreateRef in TimelineViewingLayer CreateRef API was introduced in React 16.3 Signed-off-by: Tim Klever <Tim.V.Klever@aexp.com> Co-authored-by: Ruben Vargas Palma <ruben.vp8510@gmail.com> Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
Which problem is this PR solving?
Short description of the changes