Skip to content

Conversation

@sroy3
Copy link
Contributor

@sroy3 sroy3 commented Mar 20, 2023

A drop in the sea, but some quick wins to increase the coverage. Will try to increase more in upcoming PRs.

@sroy3 sroy3 self-assigned this Mar 20, 2023
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not used anywhere

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Took me way too long to realize why getThemeValue wasn't called unless I changed its name.

'src/**/*.{ts,tsx}',
'!**/*.test.*',
'!src/stories/*',
'!src/stories/**/*.{ts,tsx}',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correctly removes the IconWrapper and IconWrappers components from the coverage.

@sroy3 sroy3 marked this pull request as ready for review March 20, 2023 20:09
@mattseddon
Copy link
Contributor

We can drop the overall coverage requirement by a few percentage points but we need to get back on top of this.

@mattseddon
Copy link
Contributor

I guess if we are aiming for 95% the pass/fail for coverage should be 95% on a PR. Need to discuss what's meaningful this week in the retro.

@sroy3
Copy link
Contributor Author

sroy3 commented Mar 20, 2023

I guess if we are aiming for 95% the pass/fail for coverage should be 95% on a PR. Need to discuss what's meaningful this week in the retro.

That make sense.

@mattseddon mattseddon enabled auto-merge (squash) March 20, 2023 21:52
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit 0422023 and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.1%.

View more on Code Climate.

@mattseddon mattseddon merged commit 7146233 into main Mar 20, 2023
@mattseddon mattseddon deleted the increase-coverage branch March 20, 2023 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants