-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Migrated components to Typescript #1806
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
1 flaky test on run #4682 ↗︎
Details:
cypress/e2e/hashlink.spec.js • 1 flaky test • all tests
Review all test suite changes for PR #1806 ↗︎ |
Code Climate has analyzed commit eb83f1a and detected 3 issues on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 63.5% (90% is the threshold). This pull request will bring the total coverage in the repository to 81.3% (0.0% change). View more on Code Climate. |
@@ -0,0 +1,2 @@ | |||
export const objectKeys = <Type extends object>(value: Type) => |
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.
oh you could increase coverage by either ignoring this file or adding a unit test for it.
it's literally 2 lines though so it wouldn't be a big bump 😂
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.
Do you typically ignore a file like that, or is the convention to create a test for it?
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.
I mean it's a pretty basic function created solely for a typing DX improvement. I'm not very worried about it.
Description of changes
Migrated the following components to Typescript, removed prop-types, and added a props type:
Nav
-
NavListItem
-
NavMobile
OutboudLink
Pagination
PaginationItem
PartnerLogoLink
Press
PressLinks
PressPhotos
PressVideos
ProgressIndicator
Migrating components included all test and storybook files for each.
Issue Resolved
Fixes #NA
Screenshots/GIFs