soumajitghosh
New member
I'm seeing a code coverage drop of -5.71% on my pull request, and I'm trying to figure out the best way to fix it.
Codecov is flagging one file from my changes: src/screens/MemberDetail/MemberDetail.tsx.It says I have "0 Missing and 1 partial" line. I'm looking into that, and I assume it's an if statement or ternary operator that my test isn't fully covering.
I have two questions:
Thanks for the help!
Codecov is flagging one file from my changes: src/screens/MemberDetail/MemberDetail.tsx.It says I have "0 Missing and 1 partial" line. I'm looking into that, and I assume it's an if statement or ternary operator that my test isn't fully covering.
I have two questions:
- Is this large 5.71% drop just because of my one partial line, or is it because my branch is so old and out of sync with develop?
- What is the correct way to fix this? Should I rebase my branch on develop first, and then fix the partial line? Or should I fix the partial line and then rebase?
Thanks for the help!